java.util.Currency
Represents a currency. Currencies are identified by their ISO 4217 currency codes.
Some methods of Currency Class.
equals(Object): This method indicates whether some other object is "equal to" this one.
Currency.getAvailableCurrencies(): This method gets the set of available currencies.
Currency.getCurrencyCode(): This method gets the ISO 4217 currency code of this currency.
getDefaultFractionDigits(): This method gets the default number of fraction digits used with this currency.
getDisplayName(): This method gets the name that is suitable for displaying this currency for the default DISPLAY locale.
getDisplayName(Locale): This method gets the name that is suitable for displaying this currency for the specified locale.
Currency.getInstance(Locale): This method returns the Currency instance for the country of the given locale.
Currency.getInstance(String): This method returns the Currency instance for the given currency code.
getNumericCode(): This method returns the ISO 4217 numeric code of this currency.
getNumericCodeAsString(): This method returns the 3 digit ISO 4217 numeric code of this currency as a String.
getSymbol(): This method gets the symbol of this currency for the default DISPLAY locale.
getSymbol(Locale): This method gets the symbol of this currency for the specified locale.
hashCode(): This method returns a hash code value for the object.
toString(): This method returns the ISO 4217 currency code of this currency.
No comments:
Post a Comment