Share via


DateTimeFormatterBuilder.AppendPattern(String) Method

Definition

Appends the elements defined by the specified pattern to the builder.

[Android.Runtime.Register("appendPattern", "(Ljava/lang/String;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? AppendPattern (string? pattern);
[<Android.Runtime.Register("appendPattern", "(Ljava/lang/String;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.AppendPattern : string -> Java.Time.Format.DateTimeFormatterBuilder

Parameters

pattern
String

the pattern to add, not null

Returns

this, for chaining, not null

Attributes

Remarks

Java documentation for java.time.format.DateTimeFormatterBuilder.appendPattern(java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to