Uses of Class
java.util.Currency
-
Packages that use Currency Package Description java.text Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.java.util Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes. -
-
Uses of Currency in java.text
Methods in java.text that return Currency Modifier and Type Method Description CurrencyDecimalFormat. getCurrency()Gets the currency used by this decimal format when formatting currency values.CurrencyDecimalFormatSymbols. getCurrency()Gets the currency of these DecimalFormatSymbols.CurrencyNumberFormat. getCurrency()Gets the currency used by this number format when formatting currency values.Methods in java.text with parameters of type Currency Modifier and Type Method Description voidDecimalFormat. setCurrency(Currency currency)Sets the currency used by this number format when formatting currency values.voidDecimalFormatSymbols. setCurrency(Currency currency)Sets the currency of these DecimalFormatSymbols.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 currency code.static CurrencyCurrency. getInstance(Locale locale)Returns theCurrencyinstance for the country of the given locale.Methods in java.util that return types with arguments of type Currency Modifier and Type Method Description static Set<Currency>Currency. getAvailableCurrencies()Gets the set of available currencies.
-