Sprache

DateTimeFormatterBuilder.AppendLocalized Method

Definition

Overloads

Name Description
AppendLocalized(String)
AppendLocalized(FormatStyle, FormatStyle)

Appends a localized date-time pattern to the formatter.

AppendLocalized(String)

[Android.Runtime.Register("appendLocalized", "(Ljava/lang/String;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=37)]
public Java.Time.Format.DateTimeFormatterBuilder AppendLocalized(string requestedTemplate);
[<Android.Runtime.Register("appendLocalized", "(Ljava/lang/String;)Ljava/time/format/DateTimeFormatterBuilder;", "", ApiSince=37)>]
member this.AppendLocalized : string -> Java.Time.Format.DateTimeFormatterBuilder

Parameters

requestedTemplate
String

Returns

Attributes

Applies to

AppendLocalized(FormatStyle, FormatStyle)

Appends a localized date-time pattern to the formatter.

[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

Parameters

dateStyle
FormatStyle

the date style to use, null means no date required

timeStyle
FormatStyle

the time style to use, null means no time required

Returns

this, for chaining, not null

Attributes

Remarks

Java documentation for java.time.format.DateTimeFormatterBuilder.appendLocalized(java.time.format.FormatStyle, java.time.format.FormatStyle).

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