Enum Constant and Description |
---|
AED
United Arab Emirates Dirham
|
AFN
Afghanistan Afghani
|
ALL
Albania Lek
|
AMD
Armenia Dram
|
ANG
Netherlands Antilles Guilder
|
AOA
Angola Kwanza
|
ARS
Argentina Peso
|
AUD
Australia Dollar
|
AWG
Aruba Guilder
|
AZN
Azerbaijan New Manat
|
BAM
Bosnia and Herzegovina Convertible Marka
|
BBD
Barbados Dollar
|
BDT
Bangladesh Taka
|
BGN
Bulgaria Lev
|
BHD
Bahrain Dinar
|
BIF
Burundi Franc
|
BMD
Bermuda Dollar
|
BND
Brunei Darussalam Dollar
|
BOB
Bolivia Boliviano
|
BRL
Brazil Real
|
BSD
Bahamas Dollar
|
BTN
Bhutan Ngultrum
|
BWP
Botswana Pula
|
BYR
Belarus Ruble
|
BZD
Belize Dollar
|
CAD
Canada Dollar
|
CDF
Congo/Kinshasa Franc
|
CHF
Switzerland Franc
|
CLP
Chile Peso
|
CNY
China Yuan Renminbi
|
COP
Colombia Peso
|
CRC
Costa Rica Colon
|
CUC
Cuba Convertible Peso
|
CUP
Cuba Peso
|
CVE
Cape Verde Escudo
|
CZK
Czech Republic Koruna
|
DJF
Djibouti Franc
|
DKK
Denmark Krone
|
DOP
Dominican Republic Peso
|
DZD
Algeria Dinar
|
EGP
Egypt Pound
|
ERN
Eritrea Nakfa
|
ETB
Ethiopia Birr
|
EUR
Euro Member Countries
|
FJD
Fiji Dollar
|
FKP
Falkland Islands (Malvinas) Pound
|
GBP
United Kingdom Pound
|
GEL
Georgia Lari
|
GGP
Guernsey Pound
|
GHS
Ghana Cedi
|
GIP
Gibraltar Pound
|
GMD
Gambia Dalasi
|
GNF
Guinea Franc
|
GTQ
Guatemala Quetzal
|
GYD
Guyana Dollar
|
HKD
Hong Kong Dollar
|
HNL
Honduras Lempira
|
HRK
Croatia Kuna
|
HTG
Haiti Gourde
|
HUF
Hungary Forint
|
IDR
Indonesia Rupiah
|
ILS
Israel Shekel
|
IMP
Isle of Man Pound
|
INR
India Rupee
|
IQD
Iraq Dinar
|
IRR
Iran Rial
|
ISK
Iceland Krona
|
JEP
Jersey Pound
|
JMD
Jamaica Dollar
|
JOD
Jordan Dinar
|
JPY
Japan Yen
|
KES
Kenya Shilling
|
KGS
Kyrgyzstan Som
|
KHR
Cambodia Riel
|
KMF
Comoros Franc
|
KPW
Korea (North) Won
|
KRW
Korea (South) Won
|
KWD
Kuwait Dinar
|
KYD
Cayman Islands Dollar
|
KZT
Kazakhstan Tenge
|
LAK
Laos Kip
|
LBP
Lebanon Pound
|
LKR
Sri Lanka Rupee
|
LRD
Liberia Dollar
|
LSL
Lesotho Loti
|
LTL
Lithuania Litas
|
LVL
Latvia Lat
|
LYD
Libya Dinar
|
MAD
Morocco Dirham
|
MDL
Moldova Leu
|
MGA
Madagascar Ariary
|
MKD
Macedonia Denar
|
MMK
Myanmar (Burma) Kyat
|
MNT
Mongolia Tughrik
|
MOP
Macau Pataca
|
MRO
Mauritania Ouguiya
|
MUR
Mauritius Rupee
|
MVR
Maldives (Maldive Islands) Rufiyaa
|
MWK
Malawi Kwacha
|
MXN
Mexico Peso
|
MYR
Malaysia Ringgit
|
MZN
Mozambique Metical
|
NAD
Namibia Dollar
|
NGN
Nigeria Naira
|
NIO
Nicaragua Cordoba
|
NOK
Norway Krone
|
NPR
Nepal Rupee
|
NZD
New Zealand Dollar
|
OMR
Oman Rial
|
PAB
Panama Balboa
|
PEN
Peru Nuevo Sol
|
PGK
Papua New Guinea Kina
|
PHP
Philippines Peso
|
PKR
Pakistan Rupee
|
PLN
Poland Zloty
|
PYG
Paraguay Guarani
|
QAR
Qatar Riyal
|
RON
Romania New Leu
|
RSD
Serbia Dinar
|
RUB
Russia Ruble
|
RWF
Rwanda Franc
|
SAR
Saudi Arabia Riyal
|
SBD
Solomon Islands Dollar
|
SCR
Seychelles Rupee
|
SDG
Sudan Pound
|
SEK
Sweden Krona
|
SGD
Singapore Dollar
|
SHP
Saint Helena Pound
|
SLL
Sierra Leone Leone
|
SOS
Somalia Shilling
|
SPL
Seborga Luigino
|
SRD
Suriname Dollar
|
STD
São Principe and Tome Dobra
|
SVC
El Salvador Colon
|
SYP
Syria Pound
|
SZL
Swaziland Lilangeni
|
THB
Thailand Baht
|
TJS
Tajikistan Somoni
|
TMT
Turkmenistan Manat
|
TND
Tunisia Dinar
|
TOP
Tonga Pa'anga
|
TRY
Turkey Lira
|
TTD
Trinidad and Tobago Dollar
|
TVD
Tuvalu Dollar
|
TWD
Taiwan New Dollar
|
TZS
Tanzania Shilling
|
UAH
Ukraine Hryvna
|
UGX
Uganda Shilling
|
USD
United States Dollar
|
UYU
Uruguay Peso
|
UZS
Uzbekistan Som
|
VEF
Venezuela Bolivar Fuerte
|
VND
Viet Nam Dong
|
VUV
Vanuatu Vatu
|
WST
Samoa Tala
|
XAF
Communauté Financière Africaine (BEAC) CFA Franc BEAC
|
XCD
East Caribbean Dollar
|
XDR
International Monetary Fund (IMF) Special Drawing Rights
|
XOF
Communauté Financière Africaine (BCEAO) Franc
|
XPF
Comptoirs Français du Pacifique (CFP) Franc
|
YER
Yemen Rial
|
ZAR
South Africa Rand
|
ZMK
Zambia Kwacha
|
ZWD
Zimbabwe Dollar
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCode()
gets the ISO-4217 currency code.
|
byte[] |
getCodeBytes()
gets the three character ISO-4217 currency code as an array of bytes, using 1 byte for each character.
|
static Currency |
getCurrency(java.lang.String code)
converts a three character String currency code value to its corresponding ISO-4217 currency enum.
|
java.lang.String |
getName()
gets the name of the ISO-4217 currency.
|
java.lang.String |
toString()
gets a string representation of the ISO-4217 currency enum.
|
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 AED
public static final Currency AFN
public static final Currency ALL
public static final Currency AMD
public static final Currency ANG
public static final Currency AOA
public static final Currency ARS
public static final Currency AUD
public static final Currency AWG
public static final Currency AZN
public static final Currency BAM
public static final Currency BBD
public static final Currency BDT
public static final Currency BGN
public static final Currency BHD
public static final Currency BIF
public static final Currency BMD
public static final Currency BND
public static final Currency BOB
public static final Currency BRL
public static final Currency BSD
public static final Currency BTN
public static final Currency BWP
public static final Currency BYR
public static final Currency BZD
public static final Currency CAD
public static final Currency CDF
public static final Currency CHF
public static final Currency CLP
public static final Currency CNY
public static final Currency COP
public static final Currency CRC
public static final Currency CUC
public static final Currency CUP
public static final Currency CVE
public static final Currency CZK
public static final Currency DJF
public static final Currency DKK
public static final Currency DOP
public static final Currency DZD
public static final Currency EGP
public static final Currency ERN
public static final Currency ETB
public static final Currency EUR
public static final Currency FJD
public static final Currency FKP
public static final Currency GBP
public static final Currency GEL
public static final Currency GGP
public static final Currency GHS
public static final Currency GIP
public static final Currency GMD
public static final Currency GNF
public static final Currency GTQ
public static final Currency GYD
public static final Currency HKD
public static final Currency HNL
public static final Currency HRK
public static final Currency HTG
public static final Currency HUF
public static final Currency IDR
public static final Currency ILS
public static final Currency IMP
public static final Currency INR
public static final Currency IQD
public static final Currency IRR
public static final Currency ISK
public static final Currency JEP
public static final Currency JMD
public static final Currency JOD
public static final Currency JPY
public static final Currency KES
public static final Currency KGS
public static final Currency KHR
public static final Currency KMF
public static final Currency KPW
public static final Currency KRW
public static final Currency KWD
public static final Currency KYD
public static final Currency KZT
public static final Currency LAK
public static final Currency LBP
public static final Currency LKR
public static final Currency LRD
public static final Currency LSL
public static final Currency LTL
public static final Currency LVL
public static final Currency LYD
public static final Currency MAD
public static final Currency MDL
public static final Currency MGA
public static final Currency MKD
public static final Currency MMK
public static final Currency MNT
public static final Currency MOP
public static final Currency MRO
public static final Currency MUR
public static final Currency MVR
public static final Currency MWK
public static final Currency MXN
public static final Currency MYR
public static final Currency MZN
public static final Currency NAD
public static final Currency NGN
public static final Currency NIO
public static final Currency NOK
public static final Currency NPR
public static final Currency NZD
public static final Currency OMR
public static final Currency PAB
public static final Currency PEN
public static final Currency PGK
public static final Currency PHP
public static final Currency PKR
public static final Currency PLN
public static final Currency PYG
public static final Currency QAR
public static final Currency RON
public static final Currency RSD
public static final Currency RUB
public static final Currency RWF
public static final Currency SAR
public static final Currency SBD
public static final Currency SCR
public static final Currency SDG
public static final Currency SEK
public static final Currency SGD
public static final Currency SHP
public static final Currency SLL
public static final Currency SOS
public static final Currency SPL
public static final Currency SRD
public static final Currency STD
public static final Currency SVC
public static final Currency SYP
public static final Currency SZL
public static final Currency THB
public static final Currency TJS
public static final Currency TMT
public static final Currency TND
public static final Currency TOP
public static final Currency TRY
public static final Currency TTD
public static final Currency TVD
public static final Currency TWD
public static final Currency TZS
public static final Currency UAH
public static final Currency UGX
public static final Currency USD
public static final Currency UYU
public static final Currency UZS
public static final Currency VEF
public static final Currency VND
public static final Currency VUV
public static final Currency WST
public static final Currency XAF
public static final Currency XCD
public static final Currency XDR
public static final Currency XOF
public static final Currency XPF
public static final Currency YER
public static final Currency ZAR
public static final Currency ZMK
public static final Currency ZWD
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 java.lang.String getCode()
public byte[] getCodeBytes()
public java.lang.String getName()
public static Currency getCurrency(java.lang.String code) throws java.lang.IllegalArgumentException
code
- string value of the currency code to be converted to an ISO-4217 currency enum.java.lang.IllegalArgumentException
- if the string currency code is not a valid ISO-4217 currency code.public java.lang.String toString()
toString
in class java.lang.Enum<Currency>