Enum Constant and Description |
---|
AUD
Australischer Dollar
|
BGN
Lew (Bulgarien)
|
BRL
Brasilianischer Real
|
CAD
Kanadischer Dollar
|
CHF
Schweizer Franken
|
CNY
Chinesischer Yuan
|
CZK
Tschechische Krone
|
DKK
Dänische Krone
|
EUR
Euro
|
GBP
Pfund Sterling
|
HKD
Hongkong-Dollar
|
HRK
Kuna (Kroatien)
|
HUF
Forint (Ungarn)
|
IDR
Indonesische Rupiah
|
IDX
Dummy currency for indexes
|
ILS
Neuer Israel Scheke
|
INR
Indische Rupie
|
JPY
Japanischer Yen
|
KRW
Südkoreanischer Won
|
MXN
Mexikanischer Peso
|
MYR
Malaysische Ringgit
|
NOK
Norwegische Krone
|
NZD
Neuseeland-Dollar
|
PHP
Philippinischer Peso
|
PLN
Zloty (Polen
|
RON
Rumänischer Leu
|
RUB
Russischer Rubel
|
SEK
Schwedische Krone
|
SGD
Singapur-Dollar
|
THB
Thailändische Baht
|
TRY
Neue Türkische Lira
|
USD
US Dolloar
|
ZAR
Südafrikanischer RAND
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<java.lang.String> |
codes()
Liefert die Liste der bekannten Codes.
|
static Currency |
find(java.lang.String currencyName)
Ermittelt den Währungs-Code.
|
static Currency |
findSymbol(java.lang.String symbol)
Ermittelt den Währungs-Code.
|
java.lang.String |
getCode()
Liefert die Währung.
|
java.lang.String |
getName()
Liefert einen sprechenden Namen für die Währung.
|
java.lang.Object |
getSymbol()
Liefert das Symbol oder einen leeren String, falls es keines gibt.
|
java.lang.String |
toString() |
static Currency |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Currency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Currency AUD
public static final Currency BGN
public static final Currency BRL
public static final Currency CAD
public static final Currency CHF
public static final Currency CNY
public static final Currency CZK
public static final Currency DKK
public static final Currency EUR
public static final Currency GBP
public static final Currency HKD
public static final Currency HRK
public static final Currency HUF
public static final Currency IDR
public static final Currency IDX
public static final Currency ILS
public static final Currency INR
public static final Currency JPY
public static final Currency KRW
public static final Currency MXN
public static final Currency MYR
public static final Currency NOK
public static final Currency NZD
public static final Currency PHP
public static final Currency PLN
public static final Currency RON
public static final Currency RUB
public static final Currency SEK
public static final Currency SGD
public static final Currency THB
public static final Currency TRY
public static final Currency USD
public static final Currency ZAR
public static Currency[] values()
for (Currency c : Currency.values()) System.out.println(c);
public static Currency valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.util.List<java.lang.String> codes()
public static Currency find(java.lang.String currencyName)
currencyName
- der Währung. Kann NULL sein.public static Currency findSymbol(java.lang.String symbol)
symbol
- public java.lang.String getCode()
public java.lang.String getName()
public java.lang.String toString()
toString
in class java.lang.Enum<Currency>
Enum.toString()
public java.lang.Object getSymbol()