Sdílet prostřednictvím


DateTimeFormatterBuilder.AppendInstant Method

Definition

Overloads

AppendInstant()

Appends an instant using ISO-8601 to the formatter, formatting fractional digits in groups of three.

AppendInstant(Int32)

Appends an instant using ISO-8601 to the formatter with control over the number of fractional digits.

AppendInstant()

Appends an instant using ISO-8601 to the formatter, formatting fractional digits in groups of three.

[Android.Runtime.Register("appendInstant", "()Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? AppendInstant ();
[<Android.Runtime.Register("appendInstant", "()Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.AppendInstant : unit -> Java.Time.Format.DateTimeFormatterBuilder

Returns

this, for chaining, not null

Attributes

Remarks

Java documentation for java.time.format.DateTimeFormatterBuilder.appendInstant().

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

AppendInstant(Int32)

Appends an instant using ISO-8601 to the formatter with control over the number of fractional digits.

[Android.Runtime.Register("appendInstant", "(I)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? AppendInstant (int fractionalDigits);
[<Android.Runtime.Register("appendInstant", "(I)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.AppendInstant : int -> Java.Time.Format.DateTimeFormatterBuilder

Parameters

fractionalDigits
Int32

the number of fractional second digits to format with, from 0 to 9, or -1 to use as many digits as necessary

Returns

this, for chaining, not null

Attributes

Remarks

Java documentation for java.time.format.DateTimeFormatterBuilder.appendInstant(int).

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