Langage

DateTimeFormatterBuilder.AppendGenericZoneText Méthode

Définition

Surcharges

Nom Description
AppendGenericZoneText(TextStyle)

Ajoute le nom de fuseau horaire générique, tel que « Pacific Time », au formateur.

AppendGenericZoneText(TextStyle, ICollection<ZoneId>)

Ajoute le nom de fuseau horaire générique, tel que « Pacific Time », au formateur.

AppendGenericZoneText(TextStyle)

Ajoute le nom de fuseau horaire générique, tel que « Pacific Time », au formateur.

[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

Paramètres

textStyle
TextStyle

style de texte à utiliser, et non null

Retours

ceci, pour le chaînage, et non null

Attributs

Remarques

Le nom générique n’inclut pas les informations d’enregistrement d’été.

S’applique à

AppendGenericZoneText(TextStyle, ICollection<ZoneId>)

Ajoute le nom de fuseau horaire générique, tel que « Pacific Time », au formateur.

[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

Paramètres

textStyle
TextStyle

style de texte à utiliser, et non null

preferredZones
ICollection<ZoneId>

l’ensemble d’ID de zone préférés, et non null

Retours

ceci, pour le chaînage, et non null

Attributs

Remarques

Les zones préférées sont utilisées lorsqu’un nom de fuseau horaire est ambigu.

S’applique à