API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.util. Currency View Source
Author(s)
Since
1.4
Version
Serial
Hierarchy
 Object
      Currency
Implements
 Serializable
Subclasses
Description
publicfinal class Currency
  Represents a currency.
See also:   
Constructors
private Currency (String currencyCode, int defaultFractionDigits)
  Constructs a Currency instance.
Methods
Hide/Show inherited methods
public String getCurrencyCode ()
  Gets the ISO 4217 currency code of this currency.
public int getDefaultFractionDigits ()
  Gets the default number of fraction digits used with this currency.
publicstatic Currency getInstance (Locale locale)
  Returns the Currency instance for the country of the given locale.
publicstatic Currency getInstance (String currencyCode)
  Returns the Currency instance for the given currency code.
public String getSymbol ()
  Gets the symbol of this currency for the default locale.
public String getSymbol (Locale locale)
  Gets the symbol of this currency for the specified locale.
public String toString ()
  Returns the ISO 4217 currency code of this currency.
Fields
Hide/Show inherited fields
pack-privatestatic String mainTable
pack-privatestatic String otherCurrencies
pack-privatestatic int otherCurrenciesDFD
pack-privatestatic long scCutOverTimes
pack-privatestatic String scNewCurrencies
pack-privatestatic int scNewCurrenciesDFD
pack-privatestatic String scOldCurrencies
pack-privatestatic int scOldCurrenciesDFD
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar