Condividi tramite


DateTimeFormatterBuilder.AppendLocalized(FormatStyle, FormatStyle) Metodo

Definizione

Aggiunge un modello di data e ora localizzato al formattatore.

[Android.Runtime.Register("appendLocalized", "(Ljava/time/format/FormatStyle;Ljava/time/format/FormatStyle;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)]
public Java.Time.Format.DateTimeFormatterBuilder? AppendLocalized (Java.Time.Format.FormatStyle? dateStyle, Java.Time.Format.FormatStyle? timeStyle);
[<Android.Runtime.Register("appendLocalized", "(Ljava/time/format/FormatStyle;Ljava/time/format/FormatStyle;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=26)>]
member this.AppendLocalized : Java.Time.Format.FormatStyle * Java.Time.Format.FormatStyle -> Java.Time.Format.DateTimeFormatterBuilder

Parametri

dateStyle
FormatStyle

lo stile della data da utilizzare, null indica che non è necessaria alcuna data

timeStyle
FormatStyle

lo stile dell'ora da usare, null significa che non è necessario tempo

Restituisce

questo, per concatenamento, non null

Attributi

Commenti

Documentazione java per java.time.format.DateTimeFormatterBuilder.appendLocalized(java.time.format.FormatStyle, java.time.format.FormatStyle).

Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.

Si applica a