共用方式為


DateTimeFormatterBuilder.AppendText Method

Definition

Overloads

AppendText(ITemporalField, IDictionary<Long,String>)
AppendText(ITemporalField)
AppendText(ITemporalField, TextStyle)

AppendText(ITemporalField, IDictionary<Long,String>)

[Android.Runtime.Register("appendText", "(Ljava/time/temporal/TemporalField;Ljava/util/Map;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? AppendText (Java.Time.Temporal.ITemporalField? field, System.Collections.Generic.IDictionary<Java.Lang.Long,string>? textLookup);
[<Android.Runtime.Register("appendText", "(Ljava/time/temporal/TemporalField;Ljava/util/Map;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.AppendText : Java.Time.Temporal.ITemporalField * System.Collections.Generic.IDictionary<Java.Lang.Long, string> -> Java.Time.Format.DateTimeFormatterBuilder

Parameters

textLookup
IDictionary<Long,String>

Returns

Attributes

Applies to

AppendText(ITemporalField)

[Android.Runtime.Register("appendText", "(Ljava/time/temporal/TemporalField;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? AppendText (Java.Time.Temporal.ITemporalField? field);
[<Android.Runtime.Register("appendText", "(Ljava/time/temporal/TemporalField;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.AppendText : Java.Time.Temporal.ITemporalField -> Java.Time.Format.DateTimeFormatterBuilder

Parameters

Returns

Attributes

Applies to

AppendText(ITemporalField, TextStyle)

[Android.Runtime.Register("appendText", "(Ljava/time/temporal/TemporalField;Ljava/time/format/TextStyle;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? AppendText (Java.Time.Temporal.ITemporalField? field, Java.Time.Format.TextStyle? textStyle);
[<Android.Runtime.Register("appendText", "(Ljava/time/temporal/TemporalField;Ljava/time/format/TextStyle;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.AppendText : Java.Time.Temporal.ITemporalField * Java.Time.Format.TextStyle -> Java.Time.Format.DateTimeFormatterBuilder

Parameters

textStyle
TextStyle

Returns

Attributes

Applies to