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 | Description |
---|---|---|
static CurrencyRounder |
Rounder.currency(Currency.CurrencyUsage currencyUsage) |
Show numbers rounded and padded according to the rules for the currency unit.
|
Modifier and Type | Method | Description |
---|---|---|
Currency.CurrencyUsage |
DecimalFormat.getCurrencyUsage() |
Returns the strategy for rounding currency amounts.
|
Modifier and Type | Method | Description |
---|---|---|
CurrencyMetaInfo.CurrencyDigits |
CurrencyMetaInfo.currencyDigits(String isoCode,
Currency.CurrencyUsage currencyUsage) |
Returns the CurrencyDigits for the currency code with Context Usage.
|
void |
DecimalFormat.setCurrencyUsage(Currency.CurrencyUsage usage) |
Sets the currency-dependent strategy to use when rounding numbers.
|
Modifier and Type | Method | Description |
---|---|---|
static Currency.CurrencyUsage |
Currency.CurrencyUsage.valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Currency.CurrencyUsage[] |
Currency.CurrencyUsage.values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method | Description |
---|---|---|
int |
Currency.getDefaultFractionDigits(Currency.CurrencyUsage Usage) |
Returns the number of the number of fraction digits that should
be displayed for this currency with Usage.
|
double |
Currency.getRoundingIncrement(Currency.CurrencyUsage Usage) |
Returns the rounding increment for this currency, or 0.0 if no
rounding is done by this currency with the Usage.
|
Copyright ? 2016 Unicode, Inc. and others.