Lenguaje

DateTimeFormatterBuilder.AppendGenericZoneText Método

Definición

Sobrecargas

Nombre Description
AppendGenericZoneText(TextStyle)

Anexa el nombre genérico de zona horaria, como "Hora del Pacífico", al formateador.

AppendGenericZoneText(TextStyle, ICollection<ZoneId>)

Anexa el nombre genérico de zona horaria, como "Hora del Pacífico", al formateador.

AppendGenericZoneText(TextStyle)

Anexa el nombre genérico de zona horaria, como "Hora del Pacífico", al formateador.

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

Parámetros

textStyle
TextStyle

estilo de texto que se va a usar, no null

Devoluciones

esto, para encadenar, no null

Atributos

Comentarios

El nombre genérico no incluye información de verano.

Se aplica a

AppendGenericZoneText(TextStyle, ICollection<ZoneId>)

Anexa el nombre genérico de zona horaria, como "Hora del Pacífico", al formateador.

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

Parámetros

textStyle
TextStyle

estilo de texto que se va a usar, no null

preferredZones
ICollection<ZoneId>

el conjunto de identificadores de zona preferidos, no null

Devoluciones

esto, para encadenar, no null

Atributos

Comentarios

Las zonas preferidas se usan cuando un nombre de zona horaria es ambiguo.

Se aplica a