Example usage for Java java.util Currency fields, constructors, methods, implement or subclass
The text is from its open source code.
boolean | equals(Object obj) Indicates whether some other object is "equal to" this one. |
Set | getAvailableCurrencies() Gets the set of available currencies. |
String | getCurrencyCode() Gets the ISO 4217 currency code of this currency. |
int | getDefaultFractionDigits() Gets the default number of fraction digits used with this currency. |
String | getDisplayName() Gets the name that is suitable for displaying this currency for the default Locale.Category#DISPLAY DISPLAY locale. |
String | getDisplayName(Locale locale) Gets the name that is suitable for displaying this currency for the specified locale. |
Currency | getInstance(String currencyCode) Returns the Currency instance for the given currency code. |
Currency | getInstance(Locale locale) Returns the Currency instance for the country of the given locale. |
int | getNumericCode() Returns the ISO 4217 numeric code of this currency. |
String | getSymbol() Gets the symbol of this currency for the default Locale.Category#DISPLAY DISPLAY locale. |
String | getSymbol(Locale locale) Gets the symbol of this currency for the specified locale. |
String | toString() Returns the ISO 4217 currency code of this currency. |