Uses of Class
com.ibm.icu.util.Currency.CurrencyUsage
-
Packages that use Currency.CurrencyUsage 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. -
-
Uses of Currency.CurrencyUsage in com.ibm.icu.number
Methods in com.ibm.icu.number with parameters of type Currency.CurrencyUsage Modifier and Type Method Description static CurrencyPrecision
Precision. currency(Currency.CurrencyUsage currencyUsage)
Show numbers rounded and padded according to the rules for the currency unit. -
Uses of Currency.CurrencyUsage in com.ibm.icu.text
Methods in com.ibm.icu.text that return Currency.CurrencyUsage Modifier and Type Method Description Currency.CurrencyUsage
DecimalFormat. getCurrencyUsage()
Returns the strategy for rounding currency amounts.Methods in com.ibm.icu.text with parameters of type Currency.CurrencyUsage Modifier and Type Method Description CurrencyMetaInfo.CurrencyDigits
CurrencyMetaInfo. currencyDigits(java.lang.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. -
Uses of Currency.CurrencyUsage in com.ibm.icu.util
Methods in com.ibm.icu.util that return Currency.CurrencyUsage Modifier and Type Method Description static Currency.CurrencyUsage
Currency.CurrencyUsage. valueOf(java.lang.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.Methods in com.ibm.icu.util with parameters of type Currency.CurrencyUsage 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.
-