Uses of Class
java.util.Currency
| Package | Description |
|---|---|
| java.text | |
| java.util | |
| libcore.icu |
-
Uses of Currency in java.text
Methods in java.text that return Currency Modifier and Type Method Description CurrencyDecimalFormat. getCurrency()Returns the currency used by this decimal format.CurrencyDecimalFormatSymbols. getCurrency()Returns the currency.CurrencyNumberFormat. getCurrency()Returns the currency used by this number format.Methods in java.text with parameters of type Currency Modifier and Type Method Description voidDecimalFormat. setCurrency(Currency currency)Sets the currency used by this decimal format.voidDecimalFormatSymbols. setCurrency(Currency currency)Sets the currency.voidNumberFormat. setCurrency(Currency currency)Sets the currency used by this number format when formatting currency values. -
Uses of Currency in java.util
Methods in java.util that return Currency Modifier and Type Method Description static CurrencyCurrency. getInstance(String currencyCode)Returns theCurrencyinstance for the given ISO 4217 currency code.static CurrencyCurrency. getInstance(Locale locale)Returns theCurrencyinstance for thisLocale's country.Methods in java.util that return types with arguments of type Currency Modifier and Type Method Description static Set<Currency>Currency. getAvailableCurrencies()Returns a set of all known currencies. -
Uses of Currency in libcore.icu
Methods in libcore.icu with parameters of type Currency Modifier and Type Method Description voidNativeDecimalFormat. setCurrency(Currency currency)