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