DateTimeFormatterBuilder.AppendZoneText Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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