共用方式為


DateTimePatternGenerator.GetInstance Method

Definition

Overloads

GetInstance(Locale)
GetInstance(ULocale)

GetInstance(Locale)

[Android.Runtime.Register("getInstance", "(Ljava/util/Locale;)Landroid/icu/text/DateTimePatternGenerator;", "", ApiSince=24)]
public static Android.Icu.Text.DateTimePatternGenerator? GetInstance (Java.Util.Locale? locale);
[<Android.Runtime.Register("getInstance", "(Ljava/util/Locale;)Landroid/icu/text/DateTimePatternGenerator;", "", ApiSince=24)>]
static member GetInstance : Java.Util.Locale -> Android.Icu.Text.DateTimePatternGenerator

Parameters

locale
Locale

Returns

Attributes

Remarks

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

GetInstance(ULocale)

[Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/DateTimePatternGenerator;", "", ApiSince=24)]
public static Android.Icu.Text.DateTimePatternGenerator? GetInstance (Android.Icu.Util.ULocale? uLocale);
[<Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/DateTimePatternGenerator;", "", ApiSince=24)>]
static member GetInstance : Android.Icu.Util.ULocale -> Android.Icu.Text.DateTimePatternGenerator

Parameters

uLocale
ULocale

Returns

Attributes

Remarks

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