DateFormatSymbols.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(ULocale) |
<strong>[icu]</strong> Returns a DateFormatSymbols instance for the given locale. |
GetInstance(Locale) |
Returns a DateFormatSymbols instance for the given locale. |
GetInstance(ULocale)
<strong>[icu]</strong> Returns a DateFormatSymbols instance for the given locale.
[Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/DateFormatSymbols;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormatSymbols? GetInstance (Android.Icu.Util.ULocale? locale);
[<Android.Runtime.Register("getInstance", "(Landroid/icu/util/ULocale;)Landroid/icu/text/DateFormatSymbols;", "", ApiSince=24)>]
static member GetInstance : Android.Icu.Util.ULocale -> Android.Icu.Text.DateFormatSymbols
Parameters
- locale
- ULocale
the locale.
Returns
A DateFormatSymbols instance.
- Attributes
Remarks
<strong>[icu]</strong> Returns a DateFormatSymbols instance for the given locale.
<strong>[icu] Note:</strong> Unlike java.text.DateFormatSymbols#getInstance
, this method simply returns new android.icu.text.DateFormatSymbols(locale)
. ICU does not support DateFormatSymbolsProvider
introduced in Java 6 or its equivalent implementation for now.
Java documentation for android.icu.text.DateFormatSymbols.getInstance(android.icu.util.ULocale)
.
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(Locale)
Returns a DateFormatSymbols instance for the given locale.
[Android.Runtime.Register("getInstance", "(Ljava/util/Locale;)Landroid/icu/text/DateFormatSymbols;", "", ApiSince=24)]
public static Android.Icu.Text.DateFormatSymbols? GetInstance (Java.Util.Locale? locale);
[<Android.Runtime.Register("getInstance", "(Ljava/util/Locale;)Landroid/icu/text/DateFormatSymbols;", "", ApiSince=24)>]
static member GetInstance : Java.Util.Locale -> Android.Icu.Text.DateFormatSymbols
Parameters
- locale
- Locale
the locale.
Returns
A DateFormatSymbols instance.
- Attributes
Remarks
Returns a DateFormatSymbols instance for the given locale.
<strong>[icu] Note:</strong> Unlike java.text.DateFormatSymbols#getInstance
, this method simply returns new android.icu.text.DateFormatSymbols(locale)
. ICU does not support DateFormatSymbolsProvider
introduced in Java 6 or its equivalent implementation for now.
Java documentation for android.icu.text.DateFormatSymbols.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.