|
|||||||||
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 |
NumberFormat.getCurrency()
Gets the Currency object used to display currency amounts. |
Currency |
DecimalFormatSymbols.getCurrency()
Returns the currency symbol, for JDK 1.4 compatibility only. |
protected Currency |
DecimalFormat.getEffectiveCurrency()
Returns the currency in effect for this formatter. |
protected Currency |
NumberFormat.getEffectiveCurrency()
Returns the currency in effect for this formatter. |
Methods in com.ibm.icu.text with parameters of type Currency | |
---|---|
void |
DecimalFormat.setCurrency(Currency theCurrency)
Sets the Currency object used to display currency amounts. |
void |
NumberFormat.setCurrency(Currency theCurrency)
Sets the Currency object used to display currency amounts. |
void |
DecimalFormatSymbols.setCurrency(Currency currency)
ICU does not use the DecimalFormatSymbols for the currency any more. |
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()
Deprecated. This API is ICU internal only. |
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()
Deprecated. This API is ICU internal only. |
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)
Deprecated. This API is ICU internal only. |
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 |