DecimalFormatSymbols.ForNumberingSystem 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
ForNumberingSystem(ULocale, NumberingSystem) |
<strong>[icu]</strong> Returns a DecimalFormatSymbols instance for the given locale with digits and symbols
corresponding to the given |
ForNumberingSystem(Locale, NumberingSystem) |
<strong>[icu]</strong> Returns a DecimalFormatSymbols instance for the given locale with digits and symbols
corresponding to the given |
ForNumberingSystem(ULocale, NumberingSystem)
<strong>[icu]</strong> Returns a DecimalFormatSymbols instance for the given locale with digits and symbols
corresponding to the given NumberingSystem
.
[Android.Runtime.Register("forNumberingSystem", "(Landroid/icu/util/ULocale;Landroid/icu/text/NumberingSystem;)Landroid/icu/text/DecimalFormatSymbols;", "", ApiSince=29)]
public static Android.Icu.Text.DecimalFormatSymbols? ForNumberingSystem (Android.Icu.Util.ULocale? locale, Android.Icu.Text.NumberingSystem? ns);
[<Android.Runtime.Register("forNumberingSystem", "(Landroid/icu/util/ULocale;Landroid/icu/text/NumberingSystem;)Landroid/icu/text/DecimalFormatSymbols;", "", ApiSince=29)>]
static member ForNumberingSystem : Android.Icu.Util.ULocale * Android.Icu.Text.NumberingSystem -> Android.Icu.Text.DecimalFormatSymbols
Parameters
- locale
- ULocale
the locale.
the numbering system.
Returns
A DecimalFormatSymbols instance.
- Attributes
Remarks
<strong>[icu]</strong> Returns a DecimalFormatSymbols instance for the given locale with digits and symbols corresponding to the given NumberingSystem
.
This method behaves equivalently to #getInstance
called with a locale having a "numbers=xxxx" keyword specifying the numbering system by name.
In this method, the NumberingSystem argument will be used even if the locale has its own "numbers=xxxx" keyword.
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
ForNumberingSystem(Locale, NumberingSystem)
<strong>[icu]</strong> Returns a DecimalFormatSymbols instance for the given locale with digits and symbols
corresponding to the given NumberingSystem
.
[Android.Runtime.Register("forNumberingSystem", "(Ljava/util/Locale;Landroid/icu/text/NumberingSystem;)Landroid/icu/text/DecimalFormatSymbols;", "", ApiSince=29)]
public static Android.Icu.Text.DecimalFormatSymbols? ForNumberingSystem (Java.Util.Locale? locale, Android.Icu.Text.NumberingSystem? ns);
[<Android.Runtime.Register("forNumberingSystem", "(Ljava/util/Locale;Landroid/icu/text/NumberingSystem;)Landroid/icu/text/DecimalFormatSymbols;", "", ApiSince=29)>]
static member ForNumberingSystem : Java.Util.Locale * Android.Icu.Text.NumberingSystem -> Android.Icu.Text.DecimalFormatSymbols
Parameters
- locale
- Locale
the locale.
the numbering system.
Returns
A DecimalFormatSymbols instance.
- Attributes
Remarks
<strong>[icu]</strong> Returns a DecimalFormatSymbols instance for the given locale with digits and symbols corresponding to the given NumberingSystem
.
This method behaves equivalently to #getInstance
called with a locale having a "numbers=xxxx" keyword specifying the numbering system by name.
In this method, the NumberingSystem argument will be used even if the locale has its own "numbers=xxxx" keyword.
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.