次の方法で共有


DecimalFormatSymbols.ForNumberingSystem Method

Definition

Overloads

ForNumberingSystem(ULocale, NumberingSystem)

<strong>[icu]</strong> Returns a DecimalFormatSymbols instance for the given locale with digits and symbols corresponding to the given NumberingSystem.

ForNumberingSystem(Locale, NumberingSystem)

<strong>[icu]</strong> Returns a DecimalFormatSymbols instance for the given locale with digits and symbols corresponding to the given NumberingSystem.

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.

ns
NumberingSystem

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.

Java documentation for android.icu.text.DecimalFormatSymbols.forNumberingSystem(android.icu.util.ULocale, android.icu.text.NumberingSystem).

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.

ns
NumberingSystem

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.

Java documentation for android.icu.text.DecimalFormatSymbols.forNumberingSystem(java.util.Locale, android.icu.text.NumberingSystem).

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