Uses of Enum
com.ibm.icu.util.Currency.CurrencyUsage
Packages that use Currency.CurrencyUsage
Package
Description
-
Uses of Currency.CurrencyUsage in com.ibm.icu.impl
Methods in com.ibm.icu.impl with parameters of type Currency.CurrencyUsageModifier and TypeMethodDescriptionICUCurrencyMetaInfo.currencyDigits
(String isoCode, Currency.CurrencyUsage currencyPurpose) -
Uses of Currency.CurrencyUsage in com.ibm.icu.impl.number
Fields in com.ibm.icu.impl.number declared as Currency.CurrencyUsageModifier and TypeFieldDescriptionprivate Currency.CurrencyUsage
DecimalFormatProperties.currencyUsage
Methods in com.ibm.icu.impl.number that return Currency.CurrencyUsageMethods in com.ibm.icu.impl.number with parameters of type Currency.CurrencyUsageModifier and TypeMethodDescriptionDecimalFormatProperties.setCurrencyUsage
(Currency.CurrencyUsage currencyUsage) Use the specifiedCurrency.CurrencyUsage
instance, which provides default rounding rules for the currency in two styles, CurrencyUsage.CASH and CurrencyUsage.STANDARD. -
Uses of Currency.CurrencyUsage in com.ibm.icu.number
Fields in com.ibm.icu.number declared as Currency.CurrencyUsageModifier and TypeFieldDescription(package private) final Currency.CurrencyUsage
Precision.CurrencyRounderImpl.usage
Methods in com.ibm.icu.number with parameters of type Currency.CurrencyUsageModifier and TypeMethodDescription(package private) static CurrencyPrecision
Precision.constructCurrency
(Currency.CurrencyUsage usage) static CurrencyPrecision
Precision.currency
(Currency.CurrencyUsage currencyUsage) Show numbers rounded and padded according to the rules for the currency unit.Constructors in com.ibm.icu.number with parameters of type Currency.CurrencyUsage -
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.