Uses of Class
com.ibm.icu.util.Currency
-
Packages that use Currency Package Description com.ibm.icu.dev.demo.number com.ibm.icu.impl.icuadapter com.ibm.icu.impl.number com.ibm.icu.impl.number.parse 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 in com.ibm.icu.dev.demo.number
Methods in com.ibm.icu.dev.demo.number with parameters of type Currency Modifier and Type Method Description (package private) static NumberFormat
CurrencyDemo. getCurrencyFormat(Currency currency, java.util.Locale displayLocale, boolean ICU26)
-
Uses of Currency in com.ibm.icu.impl.icuadapter
Methods in com.ibm.icu.impl.icuadapter that return Currency Modifier and Type Method Description Currency
NumberFormatJDK. getCurrency()
Methods in com.ibm.icu.impl.icuadapter with parameters of type Currency Modifier and Type Method Description void
NumberFormatJDK. setCurrency(Currency theCurrency)
-
Uses of Currency in com.ibm.icu.impl.number
Subclasses of Currency in com.ibm.icu.impl.number Modifier and Type Class Description class
CustomSymbolCurrency
Fields in com.ibm.icu.impl.number declared as Currency Modifier and Type Field Description private Currency
DecimalFormatProperties. currency
(package private) Currency
MutablePatternModifier. currency
Methods in com.ibm.icu.impl.number that return Currency Modifier and Type Method Description Currency
DecimalFormatProperties. getCurrency()
static Currency
CustomSymbolCurrency. resolve(Currency currency, ULocale locale, DecimalFormatSymbols symbols)
Methods in com.ibm.icu.impl.number with parameters of type Currency Modifier and Type Method Description static LongNameHandler
LongNameHandler. forCurrencyLongNames(ULocale locale, Currency currency, PluralRules rules, MicroPropsGenerator parent)
private static void
LongNameHandler. getCurrencyLongNameData(ULocale locale, Currency currency, java.lang.String[] outArray)
static Currency
CustomSymbolCurrency. resolve(Currency currency, ULocale locale, DecimalFormatSymbols symbols)
DecimalFormatProperties
DecimalFormatProperties. setCurrency(Currency currency)
Use the specified currency to substitute currency placeholders ('ยค') in the pattern string.void
MutablePatternModifier. setSymbols(DecimalFormatSymbols symbols, Currency currency, NumberFormatter.UnitWidth unitWidth, PluralRules rules)
Sets locale-specific details that affect the symbols substituted into the pattern string affixes. -
Uses of Currency in com.ibm.icu.impl.number.parse
Fields in com.ibm.icu.impl.number.parse declared as Currency Modifier and Type Field Description Currency
AffixTokenMatcherFactory. currency
Methods in com.ibm.icu.impl.number.parse with parameters of type Currency Modifier and Type Method Description static CombinedCurrencyMatcher
CombinedCurrencyMatcher. getInstance(Currency currency, DecimalFormatSymbols dfs, int parseFlags)
Constructors in com.ibm.icu.impl.number.parse with parameters of type Currency Constructor Description CombinedCurrencyMatcher(Currency currency, DecimalFormatSymbols dfs, int parseFlags)
-
Uses of Currency in com.ibm.icu.number
Fields in com.ibm.icu.number declared as Currency Modifier and Type Field Description private static Currency
NumberFormatterImpl. DEFAULT_CURRENCY
Methods in com.ibm.icu.number with parameters of type Currency Modifier and Type Method Description (package private) static Precision
Precision. constructFromCurrency(CurrencyPrecision base_, Currency currency)
private static void
NumberSkeletonImpl.BlueprintHelpers. generateCurrencyOption(Currency currency, java.lang.StringBuilder sb)
Precision
CurrencyPrecision. withCurrency(Currency currency)
Associates a currency with this rounding strategy.(package private) Precision
Precision. withLocaleData(Currency currency)
Returns a valid working Rounder. -
Uses of Currency in com.ibm.icu.text
Fields in com.ibm.icu.text declared as Currency Modifier and Type Field Description private Currency
DecimalFormatSymbols. currency
private Currency
NumberFormat. currency
Currency object used to format currencies.Methods in com.ibm.icu.text that return Currency Modifier and Type Method Description Currency
DecimalFormat. getCurrency()
Returns the currency used to display currency amounts.Currency
DecimalFormatSymbols. getCurrency()
Returns the currency symbol, forDecimalFormatSymbols.getCurrency()
API compatibility only.Currency
NumberFormat. getCurrency()
Returns the Currency object used to display currency amounts.protected Currency
NumberFormat. getEffectiveCurrency()
Deprecated.This API is ICU internal only.Methods in com.ibm.icu.text with parameters of type Currency Modifier and Type Method Description void
DecimalFormat. setCurrency(Currency currency)
Sets the currency to be used when formatting numbers.void
DecimalFormatSymbols. setCurrency(Currency currency)
Sets the currency.void
NumberFormat. setCurrency(Currency theCurrency)
Sets the Currency object used to display currency amounts.private void
DecimalFormatSymbols. setCurrencyOrNull(Currency currency, CurrencyData.CurrencyDisplayInfo displayInfo)
-
Uses of Currency in com.ibm.icu.util
Fields in com.ibm.icu.util declared as Currency Modifier and Type Field Description private Currency
GlobalizationPreferences. currency
Fields in com.ibm.icu.util with type parameters of type Currency Modifier and Type Field Description private static CacheBase<java.lang.String,Currency,java.lang.Void>
Currency. regionCurrencyCache
Methods in com.ibm.icu.util that return Currency Modifier and Type Method Description (package private) static Currency
Currency. createCurrency(ULocale loc)
Instantiate a currency from resource data.(package private) abstract Currency
Currency.ServiceShim. createInstance(ULocale l)
(package private) Currency
CurrencyServiceShim. createInstance(ULocale loc)
static Currency
Currency. fromJavaCurrency(java.util.Currency currency)
Returns a Currency object based on the currency represented by the given java.util.Currency.Currency
CurrencyAmount. getCurrency()
Returns the currency of this object.Currency
GlobalizationPreferences. getCurrency()
Get a copy of the currency computed according to the settings.static Currency
Currency. getInstance(ULocale locale)
Returns a currency object for the default currency in the given locale.static Currency
Currency. getInstance(java.lang.String theISOCode)
Returns a currency object given an ISO 4217 3-letter code.static Currency
Currency. getInstance(java.util.Locale locale)
Returns a currency object for the default currency in the given locale.protected Currency
GlobalizationPreferences. guessCurrency()
This function can be overridden by subclasses to use different heuristicsprivate static Currency
Currency. loadCurrency(java.lang.String key)
Methods in com.ibm.icu.util that return types with arguments of type Currency Modifier and Type Method Description static java.util.Set<Currency>
Currency. getAvailableCurrencies()
Returns the set of available currencies.Methods in com.ibm.icu.util with parameters of type Currency Modifier and Type Method Description static java.lang.Object
Currency. registerInstance(Currency currency, ULocale locale)
Registers a new currency for the provided locale.(package private) abstract java.lang.Object
Currency.ServiceShim. registerInstance(Currency c, ULocale l)
(package private) java.lang.Object
CurrencyServiceShim. registerInstance(Currency currency, ULocale locale)
GlobalizationPreferences
GlobalizationPreferences. setCurrency(Currency currency)
Sets the currency code.Constructors in com.ibm.icu.util with parameters of type Currency Constructor Description CurrencyAmount(double number, Currency currency)
Constructs a new object given a double value and a currency.CurrencyAmount(java.lang.Number number, Currency currency)
Constructs a new object given a number and a currency.
-