Share via


NumberingSystem.GetInstanceByName(String) Method

Definition

Returns a numbering system from one of the predefined numbering systems known to ICU.

[Android.Runtime.Register("getInstanceByName", "(Ljava/lang/String;)Landroid/icu/text/NumberingSystem;", "", ApiSince=24)]
public static Android.Icu.Text.NumberingSystem? GetInstanceByName (string? name);
[<Android.Runtime.Register("getInstanceByName", "(Ljava/lang/String;)Landroid/icu/text/NumberingSystem;", "", ApiSince=24)>]
static member GetInstanceByName : string -> Android.Icu.Text.NumberingSystem

Parameters

name
String

The name of the desired numbering system. Numbering system names often correspond with the name of the script they are associated with. For example, "thai" for Thai digits, "hebr" for Hebrew numerals.

Returns

The NumberingSystem instance, or null if not available.

Attributes

Remarks

Returns a numbering system from one of the predefined numbering systems known to ICU. Numbering system names are based on the numbering systems defined in CLDR. To get a list of available numbering systems, use the getAvailableNames method.

Java documentation for android.icu.text.NumberingSystem.getInstanceByName(java.lang.String).

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