Uses of Class
com.ibm.icu.util.Currency
Packages that use Currency
Package
Description
-
Uses of Currency in com.ibm.icu.dev.demo.number
Methods in com.ibm.icu.dev.demo.number with parameters of type CurrencyModifier and TypeMethodDescription(package private) static NumberFormatCurrencyDemo.getCurrencyFormat(Currency currency, Locale displayLocale, boolean ICU26) -
Uses of Currency in com.ibm.icu.impl.icuadapter
Methods in com.ibm.icu.impl.icuadapter that return CurrencyMethods in com.ibm.icu.impl.icuadapter with parameters of type Currency -
Uses of Currency in com.ibm.icu.impl.number
Subclasses of Currency in com.ibm.icu.impl.numberFields in com.ibm.icu.impl.number declared as CurrencyModifier and TypeFieldDescriptionprivate CurrencyDecimalFormatProperties.currency(package private) CurrencyMutablePatternModifier.currencyMethods in com.ibm.icu.impl.number that return CurrencyModifier and TypeMethodDescriptionDecimalFormatProperties.getCurrency()static CurrencyCustomSymbolCurrency.resolve(Currency currency, ULocale locale, DecimalFormatSymbols symbols) Methods in com.ibm.icu.impl.number with parameters of type CurrencyModifier and TypeMethodDescriptionstatic LongNameHandlerLongNameHandler.forCurrencyLongNames(ULocale locale, Currency currency, PluralRules rules, MicroPropsGenerator parent) private static voidLongNameHandler.getCurrencyLongNameData(ULocale locale, Currency currency, String[] outArray) static CurrencyCustomSymbolCurrency.resolve(Currency currency, ULocale locale, DecimalFormatSymbols symbols) DecimalFormatProperties.setCurrency(Currency currency) Use the specified currency to substitute currency placeholders ('ยค') in the pattern string.voidMutablePatternModifier.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 CurrencyMethods in com.ibm.icu.impl.number.parse with parameters of type CurrencyModifier and TypeMethodDescriptionstatic CombinedCurrencyMatcherCombinedCurrencyMatcher.getInstance(Currency currency, DecimalFormatSymbols dfs, int parseFlags) Constructors in com.ibm.icu.impl.number.parse with parameters of type CurrencyModifierConstructorDescriptionprivateCombinedCurrencyMatcher(Currency currency, DecimalFormatSymbols dfs, int parseFlags) -
Uses of Currency in com.ibm.icu.number
Fields in com.ibm.icu.number declared as CurrencyModifier and TypeFieldDescriptionprivate static final CurrencyNumberFormatterImpl.DEFAULT_CURRENCYMethods in com.ibm.icu.number with parameters of type CurrencyModifier and TypeMethodDescription(package private) static PrecisionPrecision.constructFromCurrency(CurrencyPrecision base_, Currency currency) private static voidNumberSkeletonImpl.BlueprintHelpers.generateCurrencyOption(Currency currency, StringBuilder sb) CurrencyPrecision.withCurrency(Currency currency) Associates a currency with this rounding strategy.(package private) PrecisionPrecision.withLocaleData(Currency currency) Returns a valid working Rounder. -
Uses of Currency in com.ibm.icu.text
Fields in com.ibm.icu.text declared as CurrencyModifier and TypeFieldDescriptionprivate CurrencyDecimalFormatSymbols.currencyprivate CurrencyNumberFormat.currencyCurrency object used to format currencies.Methods in com.ibm.icu.text that return CurrencyModifier and TypeMethodDescriptionDecimalFormat.getCurrency()Returns the currency used to display currency amounts.DecimalFormatSymbols.getCurrency()Returns the currency symbol, forDecimalFormatSymbols.getCurrency()API compatibility only.NumberFormat.getCurrency()Returns the Currency object 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 CurrencyModifier and TypeMethodDescriptionvoidDecimalFormat.setCurrency(Currency currency) Sets the currency to be used when formatting numbers.voidDecimalFormatSymbols.setCurrency(Currency currency) Sets the currency.voidNumberFormat.setCurrency(Currency theCurrency) Sets the Currency object used to display currency amounts.private voidDecimalFormatSymbols.setCurrencyOrNull(Currency currency, CurrencyData.CurrencyDisplayInfo displayInfo) -
Uses of Currency in com.ibm.icu.util
Fields in com.ibm.icu.util declared as CurrencyFields in com.ibm.icu.util with type parameters of type CurrencyMethods in com.ibm.icu.util that return CurrencyModifier and TypeMethodDescription(package private) static CurrencyCurrency.createCurrency(ULocale loc) Instantiate a currency from resource data.(package private) abstract CurrencyCurrency.ServiceShim.createInstance(ULocale l) (package private) CurrencyCurrencyServiceShim.createInstance(ULocale loc) static CurrencyCurrency.fromJavaCurrency(Currency currency) Returns a Currency object based on the currency represented by the given java.util.Currency.CurrencyAmount.getCurrency()Returns the currency of this object.GlobalizationPreferences.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 heuristicsprivate static CurrencyCurrency.loadCurrency(String key) Methods in com.ibm.icu.util that return types with arguments of type CurrencyModifier and TypeMethodDescriptionCurrency.getAvailableCurrencies()Returns the set of available currencies.Methods in com.ibm.icu.util with parameters of type CurrencyModifier and TypeMethodDescriptionstatic ObjectCurrency.registerInstance(Currency currency, ULocale locale) Registers a new currency for the provided locale.(package private) abstract ObjectCurrency.ServiceShim.registerInstance(Currency c, ULocale l) (package private) ObjectCurrencyServiceShim.registerInstance(Currency currency, ULocale locale) GlobalizationPreferences.setCurrency(Currency currency) Sets the currency code.Constructors in com.ibm.icu.util with parameters of type CurrencyModifierConstructorDescriptionCurrencyAmount(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.