Package | Description |
---|---|
com.ibm.icu.number |
Library for localized number formatting introduced in ICU 60; for usage, see com.ibm.icu.number.NumberFormatter.
|
Modifier and Type | Method and Description |
---|---|
static UnlocalizedNumberFormatter |
NumberFormatter.forSkeleton(String skeleton)
Call this method at the beginning of a NumberFormatter fluent chain to create an instance based
on a given number skeleton string.
|
static UnlocalizedNumberFormatter |
NumberFormatter.fromDecimalFormat(com.ibm.icu.impl.number.DecimalFormatProperties properties,
DecimalFormatSymbols symbols,
com.ibm.icu.impl.number.DecimalFormatProperties exportedProperties)
Deprecated.
ICU 60 This API is ICU internal only.
|
static UnlocalizedNumberFormatter |
NumberFormatter.with()
Call this method at the beginning of a NumberFormatter fluent chain in which the locale is not
currently known at the call site.
|
UnlocalizedNumberFormatter |
LocalizedNumberFormatter.withoutLocale()
Disassociate the locale from this formatter.
|
Modifier and Type | Method and Description |
---|---|
T |
NumberRangeFormatterSettings.numberFormatterBoth(UnlocalizedNumberFormatter formatter)
Sets the NumberFormatter instance to use for the numbers in the range.
|
T |
NumberRangeFormatterSettings.numberFormatterFirst(UnlocalizedNumberFormatter formatterFirst)
Sets the NumberFormatter instance to use for the first number in the range.
|
T |
NumberRangeFormatterSettings.numberFormatterSecond(UnlocalizedNumberFormatter formatterSecond)
Sets the NumberFormatter instances to use for the second number in the range.
|
Copyright © 2016 Unicode, Inc. and others.