Sprache

DateTimeFormatterBuilder.GetLocalizedDateTimePattern Method

Definition

Overloads

GetLocalizedDateTimePattern(String, IChronology, Locale)

[Android.Runtime.Register("getLocalizedDateTimePattern", "(Ljava/lang/String;Ljava/time/chrono/Chronology;Ljava/util/Locale;)Ljava/lang/String;", "", ApiSince=37)]
public static string GetLocalizedDateTimePattern(string requestedTemplate, Java.Time.Chrono.IChronology chrono, Java.Util.Locale locale);
[<Android.Runtime.Register("getLocalizedDateTimePattern", "(Ljava/lang/String;Ljava/time/chrono/Chronology;Ljava/util/Locale;)Ljava/lang/String;", "", ApiSince=37)>]
static member GetLocalizedDateTimePattern : string * Java.Time.Chrono.IChronology * Java.Util.Locale -> string

Parameters

requestedTemplate
String
chrono
IChronology
locale
Locale

Returns

Attributes

Applies to

GetLocalizedDateTimePattern(FormatStyle, FormatStyle, IChronology, Locale)

Gets the formatting pattern for a localized date and time style.

[Android.Runtime.Register("getLocalizedDateTimePattern", "(Ljava/time/format/FormatStyle;Ljava/time/format/FormatStyle;Ljava/time/chrono/Chronology;Ljava/util/Locale;)Ljava/lang/String;", "", ApiSince=26)]
public static string? GetLocalizedDateTimePattern(Java.Time.Format.FormatStyle? dateStyle, Java.Time.Format.FormatStyle? timeStyle, Java.Time.Chrono.IChronology? chrono, Java.Util.Locale? locale);
[<Android.Runtime.Register("getLocalizedDateTimePattern", "(Ljava/time/format/FormatStyle;Ljava/time/format/FormatStyle;Ljava/time/chrono/Chronology;Ljava/util/Locale;)Ljava/lang/String;", "", ApiSince=26)>]
static member GetLocalizedDateTimePattern : Java.Time.Format.FormatStyle * Java.Time.Format.FormatStyle * Java.Time.Chrono.IChronology * Java.Util.Locale -> string

Parameters

dateStyle
FormatStyle

the date style, null if no date is required

timeStyle
FormatStyle

the time style, null if no time is required

chrono
IChronology

the chronology, not null

locale
Locale

the locale, not null

Returns

the localized date-time pattern, not null

Attributes

Remarks

The pattern is obtained from the locale and chronology.

Applies to