Package | Description |
---|---|
com.ibm.icu.number |
Library for localized number formatting introduced in ICU 60; for usage, see com.ibm.icu.number.NumberFormatter.
|
com.ibm.icu.text |
Extensions and enhancements to java.text to support unicode transforms, UnicodeSet, surrogate char utilities, UCA collation, normalization, break iteration (rule and dictionary based), enhanced number format, international string searching, and arabic shaping.
|
Modifier and Type | Method | Description |
---|---|---|
T |
NumberFormatterSettings.symbols(NumberingSystem ns) |
Specifies that the given numbering system should be used when fetching symbols.
|
Modifier and Type | Field | Description |
---|---|---|
static NumberingSystem |
NumberingSystem.LATIN |
For convenience, an instance representing the latn numbering system, which
corresponds to digits in the ASCII range '0' through '9'.
|
Modifier and Type | Method | Description |
---|---|---|
static NumberingSystem |
NumberingSystem.getInstance() |
Returns the default numbering system for the default
FORMAT locale. |
static NumberingSystem |
NumberingSystem.getInstance(int radix_in,
boolean isAlgorithmic_in,
String desc_in) |
Factory method for creating a numbering system.
|
static NumberingSystem |
NumberingSystem.getInstance(ULocale locale) |
Returns the default numbering system for the specified ULocale.
|
static NumberingSystem |
NumberingSystem.getInstance(Locale inLocale) |
Returns the default numbering system for the specified locale.
|
static NumberingSystem |
NumberingSystem.getInstanceByName(String name) |
Returns a numbering system from one of the predefined numbering systems
known to ICU.
|
Modifier and Type | Method | Description |
---|---|---|
static DecimalFormatSymbols |
DecimalFormatSymbols.forNumberingSystem(ULocale locale,
NumberingSystem ns) |
Returns a DecimalFormatSymbols instance for the given locale with digits and symbols
corresponding to the given
NumberingSystem . |
static DecimalFormatSymbols |
DecimalFormatSymbols.forNumberingSystem(Locale locale,
NumberingSystem ns) |
Returns a DecimalFormatSymbols instance for the given locale with digits and symbols
corresponding to the given
NumberingSystem . |
Copyright © 2016 Unicode, Inc. and others.