|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Currency | |
---|---|
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.text |
---|
Methods in com.ibm.icu.text that return Currency | |
---|---|
Currency |
DecimalFormatSymbols.getCurrency()
Returns the currency symbol, for JDK 1.4 compatibility only. |
Currency |
NumberFormat.getCurrency()
Gets the Currency object used to display currency amounts. |
protected Currency |
NumberFormat.getEffectiveCurrency()
Deprecated. This API is ICU internal only. |
protected Currency |
DecimalFormat.getEffectiveCurrency()
Deprecated. This API is ICU internal only. |
Methods in com.ibm.icu.text with parameters of type Currency | |
---|---|
void |
DecimalFormatSymbols.setCurrency(Currency currency)
ICU does not use the DecimalFormatSymbols for the currency any more. |
void |
NumberFormat.setCurrency(Currency theCurrency)
Sets the Currency object used to display currency amounts. |
void |
DecimalFormat.setCurrency(Currency theCurrency)
Sets the Currency object used to display currency amounts. |
Uses of Currency in com.ibm.icu.util |
---|
Methods in com.ibm.icu.util that return 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(Locale locale)
Returns a currency object for the default currency in the given locale. |
static Currency |
Currency.getInstance(String theISOCode)
Returns a currency object given an ISO 4217 3-letter code. |
static Currency |
Currency.getInstance(ULocale 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 heuristics |
Methods in com.ibm.icu.util with parameters of type Currency | |
---|---|
static Object |
Currency.registerInstance(Currency currency,
ULocale locale)
Registers a new currency for the provided locale. |
GlobalizationPreferences |
GlobalizationPreferences.setCurrency(Currency currency)
Sets the currency code. |
Constructors in com.ibm.icu.util with parameters of type Currency | |
---|---|
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. |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |