DateTimePatternGenerator.GetInstance Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetInstance(Locale) |
Construct a flexible generator according to data for a given locale. |
GetInstance(ULocale) |
Construct a flexible generator according to data for a given locale. |
GetInstance(Locale)
Construct a flexible generator according to data for a given 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
The java.util.Locale
to pass.
Returns
- Attributes
Remarks
Construct a flexible generator according to data for a given locale.
Java documentation for android.icu.text.DateTimePatternGenerator.getInstance(java.util.Locale)
.
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)
Construct a flexible generator according to data for a given locale.
[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
The locale to pass.
Returns
- Attributes
Remarks
Construct a flexible generator according to data for a given locale.
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.