共用方式為


DateTimeFormatterBuilder.AppendLiteral Method

Definition

Overloads

AppendLiteral(String)

Appends a string literal to the formatter.

AppendLiteral(Char)

Appends a character literal to the formatter.

AppendLiteral(String)

Appends a string literal to the formatter.

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

Parameters

literal
String

the literal to append, not null

Returns

this, for chaining, not null

Attributes

Remarks

Java documentation for java.time.format.DateTimeFormatterBuilder.appendLiteral(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

AppendLiteral(Char)

Appends a character literal to the formatter.

[Android.Runtime.Register("appendLiteral", "(C)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? AppendLiteral (char literal);
[<Android.Runtime.Register("appendLiteral", "(C)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.AppendLiteral : char -> Java.Time.Format.DateTimeFormatterBuilder

Parameters

literal
Char

the literal to append, not null

Returns

this, for chaining, not null

Attributes

Remarks

Java documentation for java.time.format.DateTimeFormatterBuilder.appendLiteral(char).

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