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.
|
com.ibm.icu.util |
International calendars and other utility classes.
|
Modifier and Type | Method and Description |
---|---|
FormattedNumber |
LocalizedNumberFormatter.format(Measure input)
Format the given
Measure or CurrencyAmount to a string using the settings
specified in the NumberFormatter fluent setting chain. |
Modifier and Type | Method and Description |
---|---|
Measure |
MeasureFormat.parseObject(String source,
ParsePosition pos)
Parses text from a string to produce a
Measure . |
Modifier and Type | Method and Description |
---|---|
StringBuilder |
MeasureFormat.formatMeasurePerUnit(Measure measure,
MeasureUnit perUnit,
StringBuilder appendTo,
FieldPosition pos)
Formats a single measure per unit.
|
String |
MeasureFormat.formatMeasures(Measure... measures)
Format a sequence of measures.
|
StringBuilder |
MeasureFormat.formatMeasures(StringBuilder appendTo,
FieldPosition fpos,
Measure... measures)
Formats a sequence of measures.
|
Modifier and Type | Class and Description |
---|---|
class |
CurrencyAmount
An amount of currency, consisting of a Number and a Currency.
|
class |
TimeUnitAmount
Express a duration as a time unit and number.
|
Copyright © 2016 Unicode, Inc. and others.