Dela via


DateTimeFormatterBuilder.AppendZoneText Method

Definition

Overloads

AppendZoneText(TextStyle)

Appends the time-zone name, such as 'British Summer Time', to the formatter.

AppendZoneText(TextStyle, ICollection<ZoneId>)

AppendZoneText(TextStyle)

Appends the time-zone name, such as 'British Summer Time', to the formatter.

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

Parameters

textStyle
TextStyle

the text style to use, not null

Returns

this, for chaining, not null

Attributes

Remarks

Java documentation for java.time.format.DateTimeFormatterBuilder.appendZoneText(java.time.format.TextStyle).

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

AppendZoneText(TextStyle, ICollection<ZoneId>)

[Android.Runtime.Register("appendZoneText", "(Ljava/time/format/TextStyle;Ljava/util/Set;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? AppendZoneText (Java.Time.Format.TextStyle? textStyle, System.Collections.Generic.ICollection<Java.Time.ZoneId>? preferredZones);
[<Android.Runtime.Register("appendZoneText", "(Ljava/time/format/TextStyle;Ljava/util/Set;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.AppendZoneText : Java.Time.Format.TextStyle * System.Collections.Generic.ICollection<Java.Time.ZoneId> -> Java.Time.Format.DateTimeFormatterBuilder

Parameters

textStyle
TextStyle
preferredZones
ICollection<ZoneId>

Returns

Attributes

Applies to