Uses of Class
com.ibm.icu.util.Currency
-
Packages that use Currency 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 in com.ibm.icu.number
Methods in com.ibm.icu.number with parameters of type Currency Modifier and Type Method Description PrecisionCurrencyPrecision. withCurrency(Currency currency)Associates a currency with this rounding strategy. -
Uses of Currency in com.ibm.icu.text
Methods in com.ibm.icu.text that return Currency Modifier and Type Method Description CurrencyDecimalFormat. getCurrency()Returns the currency used to display currency amounts.CurrencyDecimalFormatSymbols. getCurrency()Returns the currency symbol, forDecimalFormatSymbols.getCurrency()API compatibility only.CurrencyNumberFormat. getCurrency()Returns theCurrencyobject used to display currency amounts.protected CurrencyNumberFormat. getEffectiveCurrency()Deprecated.This API is ICU internal only.Methods in com.ibm.icu.text with parameters of type Currency Modifier and Type Method Description voidDecimalFormat. setCurrency(Currency currency)Sets the currency to be used when formatting numbers.voidDecimalFormatSymbols. setCurrency(Currency currency)Sets the currency.voidNumberFormat. setCurrency(Currency theCurrency)Sets theCurrencyobject used to display currency amounts. -
Uses of Currency in com.ibm.icu.util
Methods in com.ibm.icu.util that return Currency Modifier and Type Method Description static CurrencyCurrency. fromJavaCurrency(Currency currency)Returns a Currency object based on the currency represented by the given java.util.Currency.CurrencyCurrencyAmount. getCurrency()Returns the currency of this object.CurrencyGlobalizationPreferences. getCurrency()Get a copy of the currency computed according to the settings.static CurrencyCurrency. getInstance(ULocale locale)Returns a currency object for the default currency in the given locale.static CurrencyCurrency. getInstance(String theISOCode)Returns a currency object given an ISO 4217 3-letter code.static CurrencyCurrency. getInstance(Locale locale)Returns a currency object for the default currency in the given locale.protected CurrencyGlobalizationPreferences. guessCurrency()This function can be overridden by subclasses to use different heuristicsMethods in com.ibm.icu.util that return types with arguments of type Currency Modifier and Type Method Description static 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 ObjectCurrency. registerInstance(Currency currency, ULocale locale)Registers a new currency for the provided locale.GlobalizationPreferencesGlobalizationPreferences. 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(Number number, Currency currency)Constructs a new object given a number and a currency.
-