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 and Description |
---|---|
LocalizedNumberFormatter |
UnlocalizedNumberFormatter.locale(Locale locale)
Associate the given locale with the number formatter.
|
LocalizedNumberFormatter |
UnlocalizedNumberFormatter.locale(ULocale locale)
ULocale version of the
UnlocalizedNumberFormatter.locale(Locale) setter above. |
static LocalizedNumberFormatter |
NumberFormatter.withLocale(Locale locale)
Call this method at the beginning of a NumberFormatter fluent chain in which the locale is known
at the call site.
|
static LocalizedNumberFormatter |
NumberFormatter.withLocale(ULocale locale)
Call this method at the beginning of a NumberFormatter fluent chain in which the locale is known
at the call site.
|
Modifier and Type | Method and Description |
---|---|
LocalizedNumberFormatter |
DecimalFormat.toNumberFormatter()
Converts this DecimalFormat to a NumberFormatter.
|
Copyright © 2016 Unicode, Inc. and others.