Uses of Enum
com.ibm.icu.util.Currency.CurrencyUsage
Packages that use Currency.CurrencyUsage
Package
Description
Library for localized number formatting introduced in ICU 60; for usage, see com.ibm.icu.number.NumberFormatter.
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.
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.CurrencyUsageModifier and TypeMethodDescriptionstatic 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.CurrencyUsageModifier and TypeMethodDescriptionDecimalFormat.getCurrencyUsage()
Returns the strategy for rounding currency amounts.Methods in com.ibm.icu.text with parameters of type Currency.CurrencyUsageModifier and TypeMethodDescriptionCurrencyMetaInfo.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. -
Uses of Currency.CurrencyUsage in com.ibm.icu.util
Methods in com.ibm.icu.util that return Currency.CurrencyUsageModifier and TypeMethodDescriptionstatic Currency.CurrencyUsage
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.CurrencyUsageModifier and TypeMethodDescriptionint
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.