Currency Class Flashcards
Returns ISO 4217 numeric code for the currency.
int getNumericCode()
Returns the default number of digits used with the currency, such as zero for the Japanese Yen and two for the US Dollar.
int getDefaultFractionDigits()
Returns the readable description of the Currency for the underlying locale, for example, US Dollar.
String getDisplayName()
Returns the readable description of the Currency for the given locale.
String getDisplayName(Locale locale)
Returns the Currency object corresponding to the given currency code.
Currency.getInstance(String currencyCode)
Returns the Currency object corresponding to the given Locale object.
Currency.getInstance(Locale locale)
Returns a Set of Currency instances available in the JDK.
Currency.getAvailableCurrencies.()
Returns the currency symbol, if any; otherwise returns the currency code.
String getSymbol()
Returns the currency symbol for the given Locale object.
String getSymbol(Locale)
Returns the currency code (ISO 4217) for locale of the Currency instance.
String getCurrencyCode()