Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.squarespace.cldr.numbers._NumberFormatter_id Maven / Gradle / Ivy
//
//
// AUTO-GENERATED CLASS - DO NOT EDIT
//
//
package com.squarespace.cldr.numbers;
import com.squarespace.cldr.CLDR;
import com.squarespace.cldr.plurals.PluralCategory;
import java.lang.String;
import java.lang.StringBuilder;
public class _NumberFormatter_id extends NumberFormatterBase {
public static final NumberPattern[] DECIMAL_STANDARD = patterns("#,##0.###", "-#,##0.###");
public static final NumberPattern[] PERCENT_STANDARD = patterns("#,##0%", "-#,##0%");
public static final NumberPattern[] CURRENCY_STANDARD = patterns("¤#,##0.00", "-¤#,##0.00");
public static final NumberPattern[] CURRENCY_ACCOUNTING = patterns("¤#,##0.00", "-¤#,##0.00");
public static final NumberPattern[] DECIMAL_STANDARD_COMPACT = patterns("#,##0", "-#,##0");
public static final NumberPattern[] CURRENCY_STANDARD_COMPACT = patterns("¤#,##0", "-¤#,##0");
private final NumberPattern[] DECIMAL_SHORT_1K_OTHER = patterns("0 rb", "-0 rb");
private final NumberPattern[] DECIMAL_SHORT_10K_OTHER = patterns("00 rb", "-00 rb");
private final NumberPattern[] DECIMAL_SHORT_100K_OTHER = patterns("000 rb", "-000 rb");
private final NumberPattern[] DECIMAL_SHORT_1M_OTHER = patterns("0 jt", "-0 jt");
private final NumberPattern[] DECIMAL_SHORT_10M_OTHER = patterns("00 jt", "-00 jt");
private final NumberPattern[] DECIMAL_SHORT_100M_OTHER = patterns("000 jt", "-000 jt");
private final NumberPattern[] DECIMAL_SHORT_1B_OTHER = patterns("0 M", "-0 M");
private final NumberPattern[] DECIMAL_SHORT_10B_OTHER = patterns("00 M", "-00 M");
private final NumberPattern[] DECIMAL_SHORT_100B_OTHER = patterns("000 M", "-000 M");
private final NumberPattern[] DECIMAL_SHORT_1T_OTHER = patterns("0 T", "-0 T");
private final NumberPattern[] DECIMAL_SHORT_10T_OTHER = patterns("00 T", "-00 T");
private final NumberPattern[] DECIMAL_SHORT_100T_OTHER = patterns("000 T", "-000 T");
private final int DECIMAL_SHORT_1K_SHIFT = 3;
private final int DECIMAL_SHORT_10K_SHIFT = 3;
private final int DECIMAL_SHORT_100K_SHIFT = 3;
private final int DECIMAL_SHORT_1M_SHIFT = 6;
private final int DECIMAL_SHORT_10M_SHIFT = 6;
private final int DECIMAL_SHORT_100M_SHIFT = 6;
private final int DECIMAL_SHORT_1B_SHIFT = 9;
private final int DECIMAL_SHORT_10B_SHIFT = 9;
private final int DECIMAL_SHORT_100B_SHIFT = 9;
private final int DECIMAL_SHORT_1T_SHIFT = 12;
private final int DECIMAL_SHORT_10T_SHIFT = 12;
private final int DECIMAL_SHORT_100T_SHIFT = 12;
private final NumberPattern[] DECIMAL_LONG_1K_OTHER = patterns("0 ribu", "-0 ribu");
private final NumberPattern[] DECIMAL_LONG_10K_OTHER = patterns("00 ribu", "-00 ribu");
private final NumberPattern[] DECIMAL_LONG_100K_OTHER = patterns("000 ribu", "-000 ribu");
private final NumberPattern[] DECIMAL_LONG_1M_OTHER = patterns("0 juta", "-0 juta");
private final NumberPattern[] DECIMAL_LONG_10M_OTHER = patterns("00 juta", "-00 juta");
private final NumberPattern[] DECIMAL_LONG_100M_OTHER = patterns("000 juta", "-000 juta");
private final NumberPattern[] DECIMAL_LONG_1B_OTHER = patterns("0 miliar", "-0 miliar");
private final NumberPattern[] DECIMAL_LONG_10B_OTHER = patterns("00 miliar", "-00 miliar");
private final NumberPattern[] DECIMAL_LONG_100B_OTHER = patterns("000 miliar", "-000 miliar");
private final NumberPattern[] DECIMAL_LONG_1T_OTHER = patterns("0 triliun", "-0 triliun");
private final NumberPattern[] DECIMAL_LONG_10T_OTHER = patterns("00 triliun", "-00 triliun");
private final NumberPattern[] DECIMAL_LONG_100T_OTHER = patterns("000 triliun", "-000 triliun");
private final int DECIMAL_LONG_1K_SHIFT = 3;
private final int DECIMAL_LONG_10K_SHIFT = 3;
private final int DECIMAL_LONG_100K_SHIFT = 3;
private final int DECIMAL_LONG_1M_SHIFT = 6;
private final int DECIMAL_LONG_10M_SHIFT = 6;
private final int DECIMAL_LONG_100M_SHIFT = 6;
private final int DECIMAL_LONG_1B_SHIFT = 9;
private final int DECIMAL_LONG_10B_SHIFT = 9;
private final int DECIMAL_LONG_100B_SHIFT = 9;
private final int DECIMAL_LONG_1T_SHIFT = 12;
private final int DECIMAL_LONG_10T_SHIFT = 12;
private final int DECIMAL_LONG_100T_SHIFT = 12;
private final NumberPattern[] CURRENCY_SHORT_1K_OTHER = patterns("¤0 rb", "-¤0 rb");
private final NumberPattern[] CURRENCY_SHORT_10K_OTHER = patterns("¤00 rb", "-¤00 rb");
private final NumberPattern[] CURRENCY_SHORT_100K_OTHER = patterns("¤000 rb", "-¤000 rb");
private final NumberPattern[] CURRENCY_SHORT_1M_OTHER = patterns("¤0 jt", "-¤0 jt");
private final NumberPattern[] CURRENCY_SHORT_10M_OTHER = patterns("¤00 jt", "-¤00 jt");
private final NumberPattern[] CURRENCY_SHORT_100M_OTHER = patterns("¤000 jt", "-¤000 jt");
private final NumberPattern[] CURRENCY_SHORT_1B_OTHER = patterns("¤0 M", "-¤0 M");
private final NumberPattern[] CURRENCY_SHORT_10B_OTHER = patterns("¤00 M", "-¤00 M");
private final NumberPattern[] CURRENCY_SHORT_100B_OTHER = patterns("¤000 M", "-¤000 M");
private final NumberPattern[] CURRENCY_SHORT_1T_OTHER = patterns("¤0 T", "-¤0 T");
private final NumberPattern[] CURRENCY_SHORT_10T_OTHER = patterns("¤00 T", "-¤00 T");
private final NumberPattern[] CURRENCY_SHORT_100T_OTHER = patterns("¤000 T", "-¤000 T");
private final int CURRENCY_SHORT_1K_SHIFT = 3;
private final int CURRENCY_SHORT_10K_SHIFT = 3;
private final int CURRENCY_SHORT_100K_SHIFT = 3;
private final int CURRENCY_SHORT_1M_SHIFT = 6;
private final int CURRENCY_SHORT_10M_SHIFT = 6;
private final int CURRENCY_SHORT_100M_SHIFT = 6;
private final int CURRENCY_SHORT_1B_SHIFT = 9;
private final int CURRENCY_SHORT_10B_SHIFT = 9;
private final int CURRENCY_SHORT_100B_SHIFT = 9;
private final int CURRENCY_SHORT_1T_SHIFT = 12;
private final int CURRENCY_SHORT_10T_SHIFT = 12;
private final int CURRENCY_SHORT_100T_SHIFT = 12;
public _NumberFormatter_id() {
super(
CLDR.Locale.id,
new _Params(),
// decimal standard
patterns("#,##0.###", "-#,##0.###"),
// percent standard
patterns("#,##0%", "-#,##0%"),
// currency standard
patterns("¤#,##0.00", "-¤#,##0.00"),
// currency accounting
patterns("¤#,##0.00", "-¤#,##0.00")
);
}
protected int getPowerOfTen_DECIMAL_SHORT(int digits) {
if (digits < 4) {
return 0;
}
switch (digits) {
case 4: return DECIMAL_SHORT_1K_SHIFT;
case 5: return DECIMAL_SHORT_10K_SHIFT;
case 6: return DECIMAL_SHORT_100K_SHIFT;
case 7: return DECIMAL_SHORT_1M_SHIFT;
case 8: return DECIMAL_SHORT_10M_SHIFT;
case 9: return DECIMAL_SHORT_100M_SHIFT;
case 10: return DECIMAL_SHORT_1B_SHIFT;
case 11: return DECIMAL_SHORT_10B_SHIFT;
case 12: return DECIMAL_SHORT_100B_SHIFT;
case 13: return DECIMAL_SHORT_1T_SHIFT;
case 14: return DECIMAL_SHORT_10T_SHIFT;
case 15:
default: return DECIMAL_SHORT_100T_SHIFT;
}
}
protected NumberPattern[] getPattern_DECIMAL_SHORT(int digits, PluralCategory category) {
if (digits < 4 || category == null) {
return DECIMAL_STANDARD_COMPACT;
}
switch (digits) {
case 4: {
switch (category) {
case OTHER:
default: return DECIMAL_SHORT_1K_OTHER;
}
}
case 5: {
switch (category) {
case OTHER:
default: return DECIMAL_SHORT_10K_OTHER;
}
}
case 6: {
switch (category) {
case OTHER:
default: return DECIMAL_SHORT_100K_OTHER;
}
}
case 7: {
switch (category) {
case OTHER:
default: return DECIMAL_SHORT_1M_OTHER;
}
}
case 8: {
switch (category) {
case OTHER:
default: return DECIMAL_SHORT_10M_OTHER;
}
}
case 9: {
switch (category) {
case OTHER:
default: return DECIMAL_SHORT_100M_OTHER;
}
}
case 10: {
switch (category) {
case OTHER:
default: return DECIMAL_SHORT_1B_OTHER;
}
}
case 11: {
switch (category) {
case OTHER:
default: return DECIMAL_SHORT_10B_OTHER;
}
}
case 12: {
switch (category) {
case OTHER:
default: return DECIMAL_SHORT_100B_OTHER;
}
}
case 13: {
switch (category) {
case OTHER:
default: return DECIMAL_SHORT_1T_OTHER;
}
}
case 14: {
switch (category) {
case OTHER:
default: return DECIMAL_SHORT_10T_OTHER;
}
}
case 15: default: {
switch (category) {
case OTHER:
default: return DECIMAL_SHORT_100T_OTHER;
}
}
}
}
protected int getPowerOfTen_DECIMAL_LONG(int digits) {
if (digits < 4) {
return 0;
}
switch (digits) {
case 4: return DECIMAL_LONG_1K_SHIFT;
case 5: return DECIMAL_LONG_10K_SHIFT;
case 6: return DECIMAL_LONG_100K_SHIFT;
case 7: return DECIMAL_LONG_1M_SHIFT;
case 8: return DECIMAL_LONG_10M_SHIFT;
case 9: return DECIMAL_LONG_100M_SHIFT;
case 10: return DECIMAL_LONG_1B_SHIFT;
case 11: return DECIMAL_LONG_10B_SHIFT;
case 12: return DECIMAL_LONG_100B_SHIFT;
case 13: return DECIMAL_LONG_1T_SHIFT;
case 14: return DECIMAL_LONG_10T_SHIFT;
case 15:
default: return DECIMAL_LONG_100T_SHIFT;
}
}
protected NumberPattern[] getPattern_DECIMAL_LONG(int digits, PluralCategory category) {
if (digits < 4 || category == null) {
return DECIMAL_STANDARD_COMPACT;
}
switch (digits) {
case 4: {
switch (category) {
case OTHER:
default: return DECIMAL_LONG_1K_OTHER;
}
}
case 5: {
switch (category) {
case OTHER:
default: return DECIMAL_LONG_10K_OTHER;
}
}
case 6: {
switch (category) {
case OTHER:
default: return DECIMAL_LONG_100K_OTHER;
}
}
case 7: {
switch (category) {
case OTHER:
default: return DECIMAL_LONG_1M_OTHER;
}
}
case 8: {
switch (category) {
case OTHER:
default: return DECIMAL_LONG_10M_OTHER;
}
}
case 9: {
switch (category) {
case OTHER:
default: return DECIMAL_LONG_100M_OTHER;
}
}
case 10: {
switch (category) {
case OTHER:
default: return DECIMAL_LONG_1B_OTHER;
}
}
case 11: {
switch (category) {
case OTHER:
default: return DECIMAL_LONG_10B_OTHER;
}
}
case 12: {
switch (category) {
case OTHER:
default: return DECIMAL_LONG_100B_OTHER;
}
}
case 13: {
switch (category) {
case OTHER:
default: return DECIMAL_LONG_1T_OTHER;
}
}
case 14: {
switch (category) {
case OTHER:
default: return DECIMAL_LONG_10T_OTHER;
}
}
case 15: default: {
switch (category) {
case OTHER:
default: return DECIMAL_LONG_100T_OTHER;
}
}
}
}
protected int getPowerOfTen_CURRENCY_SHORT(int digits) {
if (digits < 4) {
return 0;
}
switch (digits) {
case 4: return CURRENCY_SHORT_1K_SHIFT;
case 5: return CURRENCY_SHORT_10K_SHIFT;
case 6: return CURRENCY_SHORT_100K_SHIFT;
case 7: return CURRENCY_SHORT_1M_SHIFT;
case 8: return CURRENCY_SHORT_10M_SHIFT;
case 9: return CURRENCY_SHORT_100M_SHIFT;
case 10: return CURRENCY_SHORT_1B_SHIFT;
case 11: return CURRENCY_SHORT_10B_SHIFT;
case 12: return CURRENCY_SHORT_100B_SHIFT;
case 13: return CURRENCY_SHORT_1T_SHIFT;
case 14: return CURRENCY_SHORT_10T_SHIFT;
case 15:
default: return CURRENCY_SHORT_100T_SHIFT;
}
}
protected NumberPattern[] getPattern_CURRENCY_SHORT(int digits, PluralCategory category) {
if (digits < 4 || category == null) {
return CURRENCY_STANDARD_COMPACT;
}
switch (digits) {
case 4: {
switch (category) {
case OTHER:
default: return CURRENCY_SHORT_1K_OTHER;
}
}
case 5: {
switch (category) {
case OTHER:
default: return CURRENCY_SHORT_10K_OTHER;
}
}
case 6: {
switch (category) {
case OTHER:
default: return CURRENCY_SHORT_100K_OTHER;
}
}
case 7: {
switch (category) {
case OTHER:
default: return CURRENCY_SHORT_1M_OTHER;
}
}
case 8: {
switch (category) {
case OTHER:
default: return CURRENCY_SHORT_10M_OTHER;
}
}
case 9: {
switch (category) {
case OTHER:
default: return CURRENCY_SHORT_100M_OTHER;
}
}
case 10: {
switch (category) {
case OTHER:
default: return CURRENCY_SHORT_1B_OTHER;
}
}
case 11: {
switch (category) {
case OTHER:
default: return CURRENCY_SHORT_10B_OTHER;
}
}
case 12: {
switch (category) {
case OTHER:
default: return CURRENCY_SHORT_100B_OTHER;
}
}
case 13: {
switch (category) {
case OTHER:
default: return CURRENCY_SHORT_1T_OTHER;
}
}
case 14: {
switch (category) {
case OTHER:
default: return CURRENCY_SHORT_10T_OTHER;
}
}
case 15: default: {
switch (category) {
case OTHER:
default: return CURRENCY_SHORT_100T_OTHER;
}
}
}
}
public String getCurrencySymbol(String code) {
switch (code) {
case "ADP": return "ADP";
case "AED": return "AED";
case "AFA": return "AFA";
case "AFN": return "AFN";
case "ALL": return "ALL";
case "AMD": return "AMD";
case "ANG": return "ANG";
case "AOA": return "AOA";
case "AOK": return "AOK";
case "AON": return "AON";
case "AOR": return "AOR";
case "ARA": return "ARA";
case "ARL": return "ARL";
case "ARM": return "ARM";
case "ARP": return "ARP";
case "ARS": return "ARS";
case "ATS": return "ATS";
case "AUD": return "AU$";
case "AWG": return "AWG";
case "AZM": return "AZM";
case "AZN": return "AZN";
case "BAD": return "BAD";
case "BAM": return "BAM";
case "BAN": return "BAN";
case "BBD": return "BBD";
case "BDT": return "BDT";
case "BEC": return "BEC";
case "BEF": return "BEF";
case "BEL": return "BEL";
case "BGL": return "BGL";
case "BGM": return "BGM";
case "BGN": return "BGN";
case "BGO": return "BGO";
case "BHD": return "BHD";
case "BIF": return "BIF";
case "BMD": return "BMD";
case "BND": return "BND";
case "BOB": return "BOB";
case "BOL": return "BOL";
case "BOP": return "BOP";
case "BOV": return "BOV";
case "BRB": return "BRB";
case "BRC": return "BRC";
case "BRE": return "BRE";
case "BRL": return "R$";
case "BRN": return "BRN";
case "BRR": return "BRR";
case "BRZ": return "BRZ";
case "BSD": return "BSD";
case "BTN": return "BTN";
case "BUK": return "BUK";
case "BWP": return "BWP";
case "BYB": return "BYB";
case "BYN": return "BYN";
case "BYR": return "BYR";
case "BZD": return "BZD";
case "CAD": return "CA$";
case "CDF": return "CDF";
case "CHE": return "CHE";
case "CHF": return "CHF";
case "CHW": return "CHW";
case "CLE": return "CLE";
case "CLF": return "CLF";
case "CLP": return "CLP";
case "CNY": return "CN¥";
case "COP": return "COP";
case "COU": return "COU";
case "CRC": return "CRC";
case "CSD": return "CSD";
case "CSK": return "CSK";
case "CUC": return "CUC";
case "CUP": return "CUP";
case "CVE": return "CVE";
case "CYP": return "CYP";
case "CZK": return "CZK";
case "DDM": return "DDM";
case "DEM": return "DEM";
case "DJF": return "DJF";
case "DKK": return "DKK";
case "DOP": return "DOP";
case "DZD": return "DZD";
case "ECS": return "ECS";
case "ECV": return "ECV";
case "EEK": return "EEK";
case "EGP": return "EGP";
case "ERN": return "ERN";
case "ESA": return "ESA";
case "ESB": return "ESB";
case "ESP": return "ESP";
case "ETB": return "ETB";
case "EUR": return "€";
case "FIM": return "FIM";
case "FJD": return "FJD";
case "FKP": return "FKP";
case "FRF": return "FRF";
case "GBP": return "£";
case "GEK": return "GEK";
case "GEL": return "GEL";
case "GHC": return "GHC";
case "GHS": return "GHS";
case "GIP": return "GIP";
case "GMD": return "GMD";
case "GNF": return "GNF";
case "GNS": return "GNS";
case "GQE": return "GQE";
case "GRD": return "GRD";
case "GTQ": return "GTQ";
case "GWE": return "GWE";
case "GWP": return "GWP";
case "GYD": return "GYD";
case "HKD": return "HK$";
case "HNL": return "HNL";
case "HRD": return "HRD";
case "HRK": return "HRK";
case "HTG": return "HTG";
case "HUF": return "HUF";
case "IDR": return "Rp";
case "IEP": return "IEP";
case "ILP": return "ILP";
case "ILR": return "";
case "ILS": return "₪";
case "INR": return "Rs";
case "IQD": return "IQD";
case "IRR": return "IRR";
case "ISJ": return "";
case "ISK": return "ISK";
case "ITL": return "ITL";
case "JMD": return "JMD";
case "JOD": return "JOD";
case "JPY": return "JP¥";
case "KES": return "KES";
case "KGS": return "KGS";
case "KHR": return "KHR";
case "KMF": return "KMF";
case "KPW": return "KPW";
case "KRH": return "KRH";
case "KRO": return "KRO";
case "KRW": return "₩";
case "KWD": return "KWD";
case "KYD": return "KYD";
case "KZT": return "KZT";
case "LAK": return "LAK";
case "LBP": return "LBP";
case "LKR": return "LKR";
case "LRD": return "LRD";
case "LSL": return "LSL";
case "LTL": return "LTL";
case "LTT": return "LTT";
case "LUC": return "LUC";
case "LUF": return "LUF";
case "LUL": return "LUL";
case "LVL": return "LVL";
case "LVR": return "LVR";
case "LYD": return "LYD";
case "MAD": return "MAD";
case "MAF": return "MAF";
case "MCF": return "MCF";
case "MDC": return "MDC";
case "MDL": return "MDL";
case "MGA": return "MGA";
case "MGF": return "MGF";
case "MKD": return "MKD";
case "MKN": return "MKN";
case "MLF": return "MLF";
case "MMK": return "MMK";
case "MNT": return "MNT";
case "MOP": return "MOP";
case "MRO": return "MRO";
case "MTL": return "MTL";
case "MTP": return "MTP";
case "MUR": return "MUR";
case "MVP": return "";
case "MVR": return "MVR";
case "MWK": return "MWK";
case "MXN": return "MX$";
case "MXP": return "MXP";
case "MXV": return "MXV";
case "MYR": return "MYR";
case "MZE": return "MZE";
case "MZM": return "MZM";
case "MZN": return "MZN";
case "NAD": return "NAD";
case "NGN": return "NGN";
case "NIC": return "NIC";
case "NIO": return "NIO";
case "NLG": return "NLG";
case "NOK": return "NOK";
case "NPR": return "NPR";
case "NZD": return "NZ$";
case "OMR": return "OMR";
case "PAB": return "PAB";
case "PEI": return "PEI";
case "PEN": return "PEN";
case "PES": return "PES";
case "PGK": return "PGK";
case "PHP": return "PHP";
case "PKR": return "PKR";
case "PLN": return "PLN";
case "PLZ": return "PLZ";
case "PTE": return "PTE";
case "PYG": return "PYG";
case "QAR": return "QAR";
case "RHD": return "RHD";
case "ROL": return "ROL";
case "RON": return "RON";
case "RSD": return "RSD";
case "RUB": return "RUB";
case "RUR": return "RUR";
case "RWF": return "RWF";
case "SAR": return "SAR";
case "SBD": return "SBD";
case "SCR": return "SCR";
case "SDD": return "SDD";
case "SDG": return "SDG";
case "SDP": return "SDP";
case "SEK": return "SEK";
case "SGD": return "SGD";
case "SHP": return "SHP";
case "SIT": return "SIT";
case "SKK": return "SKK";
case "SLL": return "SLL";
case "SOS": return "SOS";
case "SRD": return "SRD";
case "SRG": return "SRG";
case "SSP": return "SSP";
case "STD": return "STD";
case "SUR": return "SUR";
case "SVC": return "SVC";
case "SYP": return "SYP";
case "SZL": return "SZL";
case "THB": return "฿";
case "TJR": return "TJR";
case "TJS": return "TJS";
case "TMM": return "TMM";
case "TMT": return "TMT";
case "TND": return "TND";
case "TOP": return "TOP";
case "TPE": return "TPE";
case "TRL": return "TRL";
case "TRY": return "TRY";
case "TTD": return "TTD";
case "TWD": return "NT$";
case "TZS": return "TZS";
case "UAH": return "UAH";
case "UAK": return "UAK";
case "UGS": return "UGS";
case "UGX": return "UGX";
case "USD": return "US$";
case "USN": return "USN";
case "USS": return "USS";
case "UYI": return "UYI";
case "UYP": return "UYP";
case "UYU": return "UYU";
case "UZS": return "UZS";
case "VEB": return "VEB";
case "VEF": return "VEF";
case "VND": return "₫";
case "VNN": return "VNN";
case "VUV": return "VUV";
case "WST": return "WST";
case "XAF": return "FCFA";
case "XAG": return "XAG";
case "XAU": return "XAU";
case "XBA": return "XBA";
case "XBB": return "XBB";
case "XBC": return "XBC";
case "XBD": return "XBD";
case "XCD": return "EC$";
case "XDR": return "XDR";
case "XEU": return "XEU";
case "XFO": return "XFO";
case "XFU": return "XFU";
case "XOF": return "CFA";
case "XPD": return "XPD";
case "XPF": return "CFPF";
case "XPT": return "XPT";
case "XRE": return "XRE";
case "XSU": return "XSU";
case "XTS": return "XTS";
case "XUA": return "XUA";
case "XXX": return "XXX";
case "YDD": return "YDD";
case "YER": return "YER";
case "YUD": return "YUD";
case "YUM": return "YUM";
case "YUN": return "YUN";
case "YUR": return "YUR";
case "ZAL": return "ZAL";
case "ZAR": return "ZAR";
case "ZMK": return "ZMK";
case "ZMW": return "ZMW";
case "ZRN": return "ZRN";
case "ZRZ": return "ZRZ";
case "ZWD": return "ZWD";
case "ZWL": return "ZWL";
case "ZWR": return "ZWR";
default: return "";
}
}
public String getNarrowCurrencySymbol(String code) {
switch (code) {
case "ADP": return "ADP";
case "AED": return "AED";
case "AFA": return "AFA";
case "AFN": return "AFN";
case "ALL": return "ALL";
case "AMD": return "AMD";
case "ANG": return "ANG";
case "AOA": return "Kz";
case "AOK": return "AOK";
case "AON": return "AON";
case "AOR": return "AOR";
case "ARA": return "ARA";
case "ARL": return "ARL";
case "ARM": return "ARM";
case "ARP": return "ARP";
case "ARS": return "$";
case "ATS": return "ATS";
case "AUD": return "$";
case "AWG": return "AWG";
case "AZM": return "AZM";
case "AZN": return "AZN";
case "BAD": return "BAD";
case "BAM": return "KM";
case "BAN": return "BAN";
case "BBD": return "$";
case "BDT": return "৳";
case "BEC": return "BEC";
case "BEF": return "BEF";
case "BEL": return "BEL";
case "BGL": return "BGL";
case "BGM": return "BGM";
case "BGN": return "BGN";
case "BGO": return "BGO";
case "BHD": return "BHD";
case "BIF": return "BIF";
case "BMD": return "$";
case "BND": return "$";
case "BOB": return "Bs";
case "BOL": return "BOL";
case "BOP": return "BOP";
case "BOV": return "BOV";
case "BRB": return "BRB";
case "BRC": return "BRC";
case "BRE": return "BRE";
case "BRL": return "R$";
case "BRN": return "BRN";
case "BRR": return "BRR";
case "BRZ": return "BRZ";
case "BSD": return "$";
case "BTN": return "BTN";
case "BUK": return "BUK";
case "BWP": return "P";
case "BYB": return "BYB";
case "BYN": return "р.";
case "BYR": return "BYR";
case "BZD": return "$";
case "CAD": return "$";
case "CDF": return "CDF";
case "CHE": return "CHE";
case "CHF": return "CHF";
case "CHW": return "CHW";
case "CLE": return "CLE";
case "CLF": return "CLF";
case "CLP": return "$";
case "CNY": return "¥";
case "COP": return "$";
case "COU": return "COU";
case "CRC": return "₡";
case "CSD": return "CSD";
case "CSK": return "CSK";
case "CUC": return "$";
case "CUP": return "$";
case "CVE": return "CVE";
case "CYP": return "CYP";
case "CZK": return "Kč";
case "DDM": return "DDM";
case "DEM": return "DEM";
case "DJF": return "DJF";
case "DKK": return "kr";
case "DOP": return "$";
case "DZD": return "DZD";
case "ECS": return "ECS";
case "ECV": return "ECV";
case "EEK": return "EEK";
case "EGP": return "E£";
case "ERN": return "ERN";
case "ESA": return "ESA";
case "ESB": return "ESB";
case "ESP": return "₧";
case "ETB": return "ETB";
case "EUR": return "€";
case "FIM": return "FIM";
case "FJD": return "$";
case "FKP": return "£";
case "FRF": return "FRF";
case "GBP": return "£";
case "GEK": return "GEK";
case "GEL": return "₾";
case "GHC": return "GHC";
case "GHS": return "GHS";
case "GIP": return "£";
case "GMD": return "GMD";
case "GNF": return "FG";
case "GNS": return "GNS";
case "GQE": return "GQE";
case "GRD": return "GRD";
case "GTQ": return "Q";
case "GWE": return "GWE";
case "GWP": return "GWP";
case "GYD": return "$";
case "HKD": return "$";
case "HNL": return "L";
case "HRD": return "HRD";
case "HRK": return "kn";
case "HTG": return "HTG";
case "HUF": return "Ft";
case "IDR": return "Rp";
case "IEP": return "IEP";
case "ILP": return "ILP";
case "ILR": return "";
case "ILS": return "₪";
case "INR": return "₹";
case "IQD": return "IQD";
case "IRR": return "IRR";
case "ISJ": return "";
case "ISK": return "kr";
case "ITL": return "ITL";
case "JMD": return "$";
case "JOD": return "JOD";
case "JPY": return "¥";
case "KES": return "KES";
case "KGS": return "KGS";
case "KHR": return "៛";
case "KMF": return "CF";
case "KPW": return "₩";
case "KRH": return "KRH";
case "KRO": return "KRO";
case "KRW": return "₩";
case "KWD": return "KWD";
case "KYD": return "$";
case "KZT": return "₸";
case "LAK": return "₭";
case "LBP": return "L£";
case "LKR": return "Rs";
case "LRD": return "$";
case "LSL": return "LSL";
case "LTL": return "Lt";
case "LTT": return "LTT";
case "LUC": return "LUC";
case "LUF": return "LUF";
case "LUL": return "LUL";
case "LVL": return "Ls";
case "LVR": return "LVR";
case "LYD": return "LYD";
case "MAD": return "MAD";
case "MAF": return "MAF";
case "MCF": return "MCF";
case "MDC": return "MDC";
case "MDL": return "MDL";
case "MGA": return "Ar";
case "MGF": return "MGF";
case "MKD": return "MKD";
case "MKN": return "MKN";
case "MLF": return "MLF";
case "MMK": return "K";
case "MNT": return "₮";
case "MOP": return "MOP";
case "MRO": return "MRO";
case "MTL": return "MTL";
case "MTP": return "MTP";
case "MUR": return "Rs";
case "MVP": return "";
case "MVR": return "MVR";
case "MWK": return "MWK";
case "MXN": return "$";
case "MXP": return "MXP";
case "MXV": return "MXV";
case "MYR": return "RM";
case "MZE": return "MZE";
case "MZM": return "MZM";
case "MZN": return "MZN";
case "NAD": return "$";
case "NGN": return "₦";
case "NIC": return "NIC";
case "NIO": return "C$";
case "NLG": return "NLG";
case "NOK": return "kr";
case "NPR": return "Rs";
case "NZD": return "$";
case "OMR": return "OMR";
case "PAB": return "PAB";
case "PEI": return "PEI";
case "PEN": return "PEN";
case "PES": return "PES";
case "PGK": return "PGK";
case "PHP": return "₱";
case "PKR": return "Rs";
case "PLN": return "zł";
case "PLZ": return "PLZ";
case "PTE": return "PTE";
case "PYG": return "₲";
case "QAR": return "QAR";
case "RHD": return "RHD";
case "ROL": return "ROL";
case "RON": return "lei";
case "RSD": return "RSD";
case "RUB": return "₽";
case "RUR": return "р.";
case "RWF": return "RF";
case "SAR": return "SAR";
case "SBD": return "$";
case "SCR": return "SCR";
case "SDD": return "SDD";
case "SDG": return "SDG";
case "SDP": return "SDP";
case "SEK": return "kr";
case "SGD": return "$";
case "SHP": return "£";
case "SIT": return "SIT";
case "SKK": return "SKK";
case "SLL": return "SLL";
case "SOS": return "SOS";
case "SRD": return "$";
case "SRG": return "SRG";
case "SSP": return "£";
case "STD": return "Db";
case "SUR": return "SUR";
case "SVC": return "SVC";
case "SYP": return "£";
case "SZL": return "SZL";
case "THB": return "฿";
case "TJR": return "TJR";
case "TJS": return "TJS";
case "TMM": return "TMM";
case "TMT": return "TMT";
case "TND": return "TND";
case "TOP": return "T$";
case "TPE": return "TPE";
case "TRL": return "TRL";
case "TRY": return "₺";
case "TTD": return "$";
case "TWD": return "NT$";
case "TZS": return "TZS";
case "UAH": return "₴";
case "UAK": return "UAK";
case "UGS": return "UGS";
case "UGX": return "UGX";
case "USD": return "$";
case "USN": return "USN";
case "USS": return "USS";
case "UYI": return "UYI";
case "UYP": return "UYP";
case "UYU": return "$";
case "UZS": return "UZS";
case "VEB": return "VEB";
case "VEF": return "Bs";
case "VND": return "₫";
case "VNN": return "VNN";
case "VUV": return "VUV";
case "WST": return "WST";
case "XAF": return "FCFA";
case "XAG": return "XAG";
case "XAU": return "XAU";
case "XBA": return "XBA";
case "XBB": return "XBB";
case "XBC": return "XBC";
case "XBD": return "XBD";
case "XCD": return "$";
case "XDR": return "XDR";
case "XEU": return "XEU";
case "XFO": return "XFO";
case "XFU": return "XFU";
case "XOF": return "CFA";
case "XPD": return "XPD";
case "XPF": return "CFPF";
case "XPT": return "XPT";
case "XRE": return "XRE";
case "XSU": return "XSU";
case "XTS": return "XTS";
case "XUA": return "XUA";
case "XXX": return "XXX";
case "YDD": return "YDD";
case "YER": return "YER";
case "YUD": return "YUD";
case "YUM": return "YUM";
case "YUN": return "YUN";
case "YUR": return "YUR";
case "ZAL": return "ZAL";
case "ZAR": return "R";
case "ZMK": return "ZMK";
case "ZMW": return "ZK";
case "ZRN": return "ZRN";
case "ZRZ": return "ZRZ";
case "ZWD": return "ZWD";
case "ZWL": return "ZWL";
case "ZWR": return "ZWR";
default: return "";
}
}
public String getCurrencyDisplayName(String code) {
switch (code) {
case "ADP": return "Peseta Andorra";
case "AED": return "Dirham Uni Emirat Arab";
case "AFA": return "Afgani Afganistan (1927–2002)";
case "AFN": return "Afgani Afganistan";
case "ALL": return "Lek Albania";
case "AMD": return "Dram Armenia";
case "ANG": return "Guilder Antilla Belanda";
case "AOA": return "Kwanza Angola";
case "AOK": return "Kwanza Angola (1977–1991)";
case "AON": return "Kwanza Baru Angola (1990–2000)";
case "AOR": return "Kwanza Angola yang Disesuaikan Lagi (1995–1999)";
case "ARA": return "Austral Argentina";
case "ARL": return "Peso Ley Argentina (1970–1983)";
case "ARM": return "Peso Argentina (1881–1970)";
case "ARP": return "Peso Argentina (1983–1985)";
case "ARS": return "Peso Argentina";
case "ATS": return "Schilling Austria";
case "AUD": return "Dolar Australia";
case "AWG": return "Florin Aruba";
case "AZM": return "Manat Azerbaijan (1993–2006)";
case "AZN": return "Manat Azerbaijan";
case "BAD": return "Dinar Bosnia-Herzegovina (1992–1994)";
case "BAM": return "Mark Konvertibel Bosnia-Herzegovina";
case "BAN": return "Dinar Baru Bosnia-Herzegovina (1994–1997)";
case "BBD": return "Dolar Barbados";
case "BDT": return "Taka Bangladesh";
case "BEC": return "Franc Belgia (konvertibel)";
case "BEF": return "Franc Belgia";
case "BEL": return "Franc Belgia (keuangan)";
case "BGL": return "Hard Lev Bulgaria";
case "BGM": return "Socialist Lev Bulgaria";
case "BGN": return "Lev Bulgaria";
case "BGO": return "Lev Bulgaria (1879–1952)";
case "BHD": return "Dinar Bahrain";
case "BIF": return "Franc Burundi";
case "BMD": return "Dolar Bermuda";
case "BND": return "Dolar Brunei";
case "BOB": return "Boliviano";
case "BOL": return "Boliviano Bolivia (1863–1963)";
case "BOP": return "Peso Bolivia";
case "BOV": return "Mvdol Bolivia";
case "BRB": return "Cruzeiro Baru Brasil (1967–1986)";
case "BRC": return "Cruzado Brasil (1986–1989)";
case "BRE": return "Cruzeiro Brasil (1990–1993)";
case "BRL": return "Real Brasil";
case "BRN": return "Cruzado Baru Brasil (1989–1990)";
case "BRR": return "Cruzeiro Brasil (1993–1994)";
case "BRZ": return "Cruzeiro Brasil (1942–1967)";
case "BSD": return "Dolar Bahama";
case "BTN": return "Ngultrum Bhutan";
case "BUK": return "Kyat Burma";
case "BWP": return "Pula Botswana";
case "BYB": return "Rubel Baru Belarus (1994–1999)";
case "BYN": return "Rubel Belarusia";
case "BYR": return "Rubel Belarusia (2000–2016)";
case "BZD": return "Dolar Belize";
case "CAD": return "Dolar Kanada";
case "CDF": return "Franc Kongo";
case "CHE": return "Euro WIR";
case "CHF": return "Franc Swiss";
case "CHW": return "Franc WIR";
case "CLE": return "Escudo Cile";
case "CLF": return "Satuan Hitung (UF) Cile";
case "CLP": return "Peso Cile";
case "CNY": return "Yuan Tiongkok";
case "COP": return "Peso Kolombia";
case "COU": return "Unit Nilai Nyata Kolombia";
case "CRC": return "Colon Kosta Rika";
case "CSD": return "Dinar Serbia (2002–2006)";
case "CSK": return "Hard Koruna Cheska";
case "CUC": return "Peso Konvertibel Kuba";
case "CUP": return "Peso Kuba";
case "CVE": return "Escudo Tanjung Verde";
case "CYP": return "Pound Siprus";
case "CZK": return "Koruna Cheska";
case "DDM": return "Mark Jerman Timur";
case "DEM": return "Mark Jerman";
case "DJF": return "Franc Jibuti";
case "DKK": return "Krone Denmark";
case "DOP": return "Peso Dominika";
case "DZD": return "Dinar Algeria";
case "ECS": return "Sucre Ekuador";
case "ECV": return "Satuan Nilai Tetap Ekuador";
case "EEK": return "Kroon Estonia";
case "EGP": return "Pound Mesir";
case "ERN": return "Nakfa Eritrea";
case "ESA": return "Peseta Spanyol (akun)";
case "ESB": return "Peseta Spanyol (konvertibel)";
case "ESP": return "Peseta Spanyol";
case "ETB": return "Birr Etiopia";
case "EUR": return "Euro";
case "FIM": return "Markka Finlandia";
case "FJD": return "Dolar Fiji";
case "FKP": return "Pound Kepulauan Falkland";
case "FRF": return "Franc Prancis";
case "GBP": return "Pound Inggris";
case "GEK": return "Kupon Larit Georgia";
case "GEL": return "Lari Georgia";
case "GHC": return "Cedi Ghana (1979–2007)";
case "GHS": return "Cedi Ghana";
case "GIP": return "Pound Gibraltar";
case "GMD": return "Dalasi Gambia";
case "GNF": return "Franc Guinea";
case "GNS": return "Syli Guinea";
case "GQE": return "Ekuele Guinea Ekuatorial";
case "GRD": return "Drachma Yunani";
case "GTQ": return "Quetzal Guatemala";
case "GWE": return "Escudo Guinea Portugal";
case "GWP": return "Peso Guinea-Bissau";
case "GYD": return "Dolar Guyana";
case "HKD": return "Dolar Hong Kong";
case "HNL": return "Lempira Honduras";
case "HRD": return "Dinar Kroasia";
case "HRK": return "Kuna Kroasia";
case "HTG": return "Gourde Haiti";
case "HUF": return "Forint Hungaria";
case "IDR": return "Rupiah Indonesia";
case "IEP": return "Pound Irlandia";
case "ILP": return "Pound Israel";
case "ILR": return "Shekel Israel";
case "ILS": return "Shekel Baru Israel";
case "INR": return "Rupee India";
case "IQD": return "Dinar Irak";
case "IRR": return "Rial Iran";
case "ISJ": return "Krona Islandia (1918–1981)";
case "ISK": return "Krona Islandia";
case "ITL": return "Lira Italia";
case "JMD": return "Dolar Jamaika";
case "JOD": return "Dinar Yordania";
case "JPY": return "Yen Jepang";
case "KES": return "Shilling Kenya";
case "KGS": return "Som Kirgistan";
case "KHR": return "Riel Kamboja";
case "KMF": return "Franc Komoro";
case "KPW": return "Won Korea Utara";
case "KRH": return "Hwan Korea Selatan (1953–1962)";
case "KRO": return "Won Korea Selatan (1945–1953)";
case "KRW": return "Won Korea Selatan";
case "KWD": return "Dinar Kuwait";
case "KYD": return "Dolar Kepulauan Cayman";
case "KZT": return "Tenge Kazakstan";
case "LAK": return "Kip Laos";
case "LBP": return "Pound Lebanon";
case "LKR": return "Rupee Sri Lanka";
case "LRD": return "Dolar Liberia";
case "LSL": return "Loti Lesotho";
case "LTL": return "Litas Lituania";
case "LTT": return "Talonas Lituania";
case "LUC": return "Franc Konvertibel Luksemburg";
case "LUF": return "Franc Luksemburg";
case "LUL": return "Financial Franc Luksemburg";
case "LVL": return "Lats Latvia";
case "LVR": return "Rubel Latvia";
case "LYD": return "Dinar Libya";
case "MAD": return "Dirham Maroko";
case "MAF": return "Franc Maroko";
case "MCF": return "Franc Monegasque";
case "MDC": return "Cupon Moldova";
case "MDL": return "Leu Moldova";
case "MGA": return "Ariary Madagaskar";
case "MGF": return "Franc Malagasi";
case "MKD": return "Denar Makedonia";
case "MKN": return "Denar Makedonia (1992–1993)";
case "MLF": return "Franc Mali";
case "MMK": return "Kyat Myanmar";
case "MNT": return "Tugrik Mongolia";
case "MOP": return "Pataca Makau";
case "MRO": return "Ouguiya Mauritania";
case "MTL": return "Lira Malta";
case "MTP": return "Pound Malta";
case "MUR": return "Rupee Mauritius";
case "MVP": return "Rufiyaa Maladewa (1947–1981)";
case "MVR": return "Rufiyaa Maladewa";
case "MWK": return "Kwacha Malawi";
case "MXN": return "Peso Meksiko";
case "MXP": return "Peso Silver Meksiko (1861–1992)";
case "MXV": return "Unit Investasi Meksiko";
case "MYR": return "Ringgit Malaysia";
case "MZE": return "Escudo Mozambik";
case "MZM": return "Metical Mozambik (1980–2006)";
case "MZN": return "Metical Mozambik";
case "NAD": return "Dolar Namibia";
case "NGN": return "Naira Nigeria";
case "NIC": return "Cordoba Nikaragua (1988–1991)";
case "NIO": return "Cordoba Nikaragua";
case "NLG": return "Guilder Belanda";
case "NOK": return "Krone Norwegia";
case "NPR": return "Rupee Nepal";
case "NZD": return "Dolar Selandia Baru";
case "OMR": return "Rial Oman";
case "PAB": return "Balboa Panama";
case "PEI": return "Inti Peru";
case "PEN": return "Sol Peru";
case "PES": return "Sol Peru (1863–1965)";
case "PGK": return "Kina Papua Nugini";
case "PHP": return "Peso Filipina";
case "PKR": return "Rupee Pakistan";
case "PLN": return "Polandia Zloty";
case "PLZ": return "Zloty Polandia (1950–1995)";
case "PTE": return "Escudo Portugal";
case "PYG": return "Guarani Paraguay";
case "QAR": return "Rial Qatar";
case "RHD": return "Dolar Rhodesia";
case "ROL": return "Leu Rumania (1952–2006)";
case "RON": return "Leu Rumania";
case "RSD": return "Dinar Serbia";
case "RUB": return "Rubel Rusia";
case "RUR": return "Rubel Rusia (1991–1998)";
case "RWF": return "Franc Rwanda";
case "SAR": return "Riyal Arab Saudi";
case "SBD": return "Dolar Kepulauan Solomon";
case "SCR": return "Rupee Seychelles";
case "SDD": return "Dinar Sudan (1992–2007)";
case "SDG": return "Pound Sudan";
case "SDP": return "Pound Sudan (1957–1998)";
case "SEK": return "Krona Swedia";
case "SGD": return "Dolar Singapura";
case "SHP": return "Pound Saint Helena";
case "SIT": return "Tolar Slovenia";
case "SKK": return "Koruna Slovakia";
case "SLL": return "Leone Sierra Leone";
case "SOS": return "Shilling Somalia";
case "SRD": return "Dolar Suriname";
case "SRG": return "Guilder Suriname";
case "SSP": return "Pound Sudan Selatan";
case "STD": return "Dobra Sao Tome dan Principe";
case "SUR": return "Rubel Soviet";
case "SVC": return "Colon El Savador";
case "SYP": return "Pound Suriah";
case "SZL": return "Lilangeni Swaziland";
case "THB": return "Baht Thailand";
case "TJR": return "Rubel Tajikistan";
case "TJS": return "Somoni Tajikistan";
case "TMM": return "Manat Turkmenistan (1993–2009)";
case "TMT": return "Manat Turkimenistan";
case "TND": return "Dinar Tunisia";
case "TOP": return "Paʻanga Tonga";
case "TPE": return "Escudo Timor";
case "TRL": return "Lira Turki (1922–2005)";
case "TRY": return "Lira Turki";
case "TTD": return "Dolar Trinidad dan Tobago";
case "TWD": return "Dolar Baru Taiwan";
case "TZS": return "Shilling Tanzania";
case "UAH": return "Hryvnia Ukraina";
case "UAK": return "Karbovanet Ukraina";
case "UGS": return "Shilling Uganda (1966–1987)";
case "UGX": return "Shilling Uganda";
case "USD": return "Dolar Amerika Serikat";
case "USN": return "Dolar AS (Hari berikutnya)";
case "USS": return "Dolar AS (Hari yang sama)";
case "UYI": return "Peso Uruguay (Unit Diindeks)";
case "UYP": return "Peso Uruguay (1975–1993)";
case "UYU": return "Peso Uruguay";
case "UZS": return "Som Uzbekistan";
case "VEB": return "Bolivar Venezuela (1871–2008)";
case "VEF": return "Bolivar Venezuela";
case "VND": return "Dong Vietnam";
case "VNN": return "Dong Vietnam (1978–1985)";
case "VUV": return "Vatu Vanuatu";
case "WST": return "Tala Samoa";
case "XAF": return "Franc CFA BEAC";
case "XAG": return "Silver";
case "XAU": return "Emas";
case "XBA": return "Unit Gabungan Eropa";
case "XBB": return "Unit Keuangan Eropa";
case "XBC": return "Satuan Hitung Eropa (XBC)";
case "XBD": return "Satuan Hitung Eropa (XBD)";
case "XCD": return "Dolar Karibia Timur";
case "XDR": return "Hak Khusus Menggambar";
case "XEU": return "Satuan Mata Uang Eropa";
case "XFO": return "Franc Gold Perancis";
case "XFU": return "Franc UIC Perancis";
case "XOF": return "Franc CFA BCEAO";
case "XPD": return "Palladium";
case "XPF": return "Franc CFP";
case "XPT": return "Platinum";
case "XRE": return "Dana RINET";
case "XSU": return "XSU";
case "XTS": return "Kode Mata Uang Pengujian";
case "XUA": return "XUA";
case "XXX": return "Mata Uang Tidak Dikenal";
case "YDD": return "Dinar Yaman";
case "YER": return "Rial Yaman";
case "YUD": return "Hard Dinar Yugoslavia (1966–1990)";
case "YUM": return "Dinar Baru Yugoslavia (1994–2002)";
case "YUN": return "Dinar Konvertibel Yugoslavia (1990–1992)";
case "YUR": return "Dinar Reformasi Yugoslavia (1992–1993)";
case "ZAL": return "Rand Afrika Selatan (Keuangan)";
case "ZAR": return "Rand Afrika Selatan";
case "ZMK": return "Kwacha Zambia (1968–2012)";
case "ZMW": return "Kwacha Zambia";
case "ZRN": return "Zaire Baru Zaire (1993–1998)";
case "ZRZ": return "Zaire Zaire (1971–1993)";
case "ZWD": return "Dolar Zimbabwe (1980–2008)";
case "ZWL": return "Dolar Zimbabwe (2009)";
case "ZWR": return "Dolar Zimbabwe (2008)";
default: return "";
}
}
protected String getCurrencyPluralName(String code, PluralCategory category) {
switch (code) {
case "AED": {
switch (category) {
case OTHER:
default: return "Dirham Uni Emirat Arab";
}
}
case "AFA": {
switch (category) {
case OTHER:
default: return "Afgani Afganistan (1927–2002)";
}
}
case "AFN": {
switch (category) {
case OTHER:
default: return "Afgani Afganistan";
}
}
case "ALL": {
switch (category) {
case OTHER:
default: return "Lek Albania";
}
}
case "AMD": {
switch (category) {
case OTHER:
default: return "Dram Armenia";
}
}
case "ANG": {
switch (category) {
case OTHER:
default: return "Guilder Antilla Belanda";
}
}
case "AOA": {
switch (category) {
case OTHER:
default: return "Kwanza Angola";
}
}
case "AOK": {
switch (category) {
case OTHER:
default: return "Kwanza Angola (1977–1991)";
}
}
case "AON": {
switch (category) {
case OTHER:
default: return "Kwanza Baru Angola (1990–2000)";
}
}
case "AOR": {
switch (category) {
case OTHER:
default: return "Kwanza Angola yang Disesuaikan Lagi (1995–1999)";
}
}
case "ARL": {
switch (category) {
case OTHER:
default: return "Peso Ley Argentina (1970–1983)";
}
}
case "ARM": {
switch (category) {
case OTHER:
default: return "Peso Argentina (1881–1970)";
}
}
case "ARP": {
switch (category) {
case OTHER:
default: return "Peso Argentina (1983–1985)";
}
}
case "ARS": {
switch (category) {
case OTHER:
default: return "Peso Argentina";
}
}
case "AUD": {
switch (category) {
case OTHER:
default: return "Dolar Australia";
}
}
case "AWG": {
switch (category) {
case OTHER:
default: return "Florin Aruba";
}
}
case "AZM": {
switch (category) {
case OTHER:
default: return "Manat Azerbaijan (1993–2006)";
}
}
case "AZN": {
switch (category) {
case OTHER:
default: return "Manat Azerbaijan";
}
}
case "BAD": {
switch (category) {
case OTHER:
default: return "Dinar Bosnia-Herzegovina (1992–1994)";
}
}
case "BAM": {
switch (category) {
case OTHER:
default: return "Mark Konvertibel Bosnia-Herzegovina";
}
}
case "BAN": {
switch (category) {
case OTHER:
default: return "Dinar Baru Bosnia-Herzegovina (1994–1997)";
}
}
case "BBD": {
switch (category) {
case OTHER:
default: return "Dolar Barbados";
}
}
case "BDT": {
switch (category) {
case OTHER:
default: return "Taka Bangladesh";
}
}
case "BGN": {
switch (category) {
case OTHER:
default: return "Lev Bulgaria";
}
}
case "BGO": {
switch (category) {
case OTHER:
default: return "Lev Bulgaria (1879–1952)";
}
}
case "BHD": {
switch (category) {
case OTHER:
default: return "Dinar Bahrain";
}
}
case "BIF": {
switch (category) {
case OTHER:
default: return "Franc Burundi";
}
}
case "BMD": {
switch (category) {
case OTHER:
default: return "Dolar Bermuda";
}
}
case "BND": {
switch (category) {
case OTHER:
default: return "Dolar Brunei";
}
}
case "BOB": {
switch (category) {
case OTHER:
default: return "Boliviano";
}
}
case "BOL": {
switch (category) {
case OTHER:
default: return "Boliviano Bolivia (1863–1963)";
}
}
case "BRB": {
switch (category) {
case OTHER:
default: return "Cruzeiro Baru Brasil (1967–1986)";
}
}
case "BRC": {
switch (category) {
case OTHER:
default: return "Cruzado Brasil (1986–1989)";
}
}
case "BRE": {
switch (category) {
case OTHER:
default: return "Cruzeiro Brasil (1990–1993)";
}
}
case "BRL": {
switch (category) {
case OTHER:
default: return "Real Brasil";
}
}
case "BRN": {
switch (category) {
case OTHER:
default: return "Cruzado Baru Brasil (1989–1990)";
}
}
case "BRR": {
switch (category) {
case OTHER:
default: return "Cruzeiro Brasil (1993–1994)";
}
}
case "BRZ": {
switch (category) {
case OTHER:
default: return "Cruzeiro Brasil (1942–1967)";
}
}
case "BSD": {
switch (category) {
case OTHER:
default: return "Dolar Bahama";
}
}
case "BTN": {
switch (category) {
case OTHER:
default: return "Ngultrum Bhutan";
}
}
case "BWP": {
switch (category) {
case OTHER:
default: return "Pula Botswana";
}
}
case "BYB": {
switch (category) {
case OTHER:
default: return "Rubel Baru Belarus (1994–1999)";
}
}
case "BYN": {
switch (category) {
case OTHER:
default: return "Rubel Belarusia";
}
}
case "BYR": {
switch (category) {
case OTHER:
default: return "Rubel Belarusia (2000–2016)";
}
}
case "BZD": {
switch (category) {
case OTHER:
default: return "Dolar Belize";
}
}
case "CAD": {
switch (category) {
case OTHER:
default: return "Dolar Kanada";
}
}
case "CDF": {
switch (category) {
case OTHER:
default: return "Franc Kongo";
}
}
case "CHF": {
switch (category) {
case OTHER:
default: return "Franc Swiss";
}
}
case "CLP": {
switch (category) {
case OTHER:
default: return "Peso Cile";
}
}
case "CNY": {
switch (category) {
case OTHER:
default: return "Yuan Tiongkok";
}
}
case "COP": {
switch (category) {
case OTHER:
default: return "Peso Kolombia";
}
}
case "CRC": {
switch (category) {
case OTHER:
default: return "Colon Kosta Rika";
}
}
case "CSD": {
switch (category) {
case OTHER:
default: return "Dinar Serbia (2002–2006)";
}
}
case "CUC": {
switch (category) {
case OTHER:
default: return "Peso Konvertibel Kuba";
}
}
case "CUP": {
switch (category) {
case OTHER:
default: return "Peso Kuba";
}
}
case "CVE": {
switch (category) {
case OTHER:
default: return "Escudo Tanjung Verde";
}
}
case "CZK": {
switch (category) {
case OTHER:
default: return "Koruna Cheska";
}
}
case "DJF": {
switch (category) {
case OTHER:
default: return "Franc Jibuti";
}
}
case "DKK": {
switch (category) {
case OTHER:
default: return "Krone Denmark";
}
}
case "DOP": {
switch (category) {
case OTHER:
default: return "Peso Dominika";
}
}
case "DZD": {
switch (category) {
case OTHER:
default: return "Dinar Algeria";
}
}
case "EGP": {
switch (category) {
case OTHER:
default: return "Pound Mesir";
}
}
case "ERN": {
switch (category) {
case OTHER:
default: return "Nakfa Eritrea";
}
}
case "ETB": {
switch (category) {
case OTHER:
default: return "Birr Etiopia";
}
}
case "EUR": {
switch (category) {
case OTHER:
default: return "Euro";
}
}
case "FJD": {
switch (category) {
case OTHER:
default: return "Dolar Fiji";
}
}
case "FKP": {
switch (category) {
case OTHER:
default: return "Pound Kepulauan Falkland";
}
}
case "GBP": {
switch (category) {
case OTHER:
default: return "Pound Inggris";
}
}
case "GEL": {
switch (category) {
case OTHER:
default: return "Lari Georgia";
}
}
case "GHC": {
switch (category) {
case OTHER:
default: return "Cedi Ghana (1979–2007)";
}
}
case "GHS": {
switch (category) {
case OTHER:
default: return "Cedi Ghana";
}
}
case "GIP": {
switch (category) {
case OTHER:
default: return "Pound Gibraltar";
}
}
case "GMD": {
switch (category) {
case OTHER:
default: return "Dalasi Gambia";
}
}
case "GNF": {
switch (category) {
case OTHER:
default: return "Franc Guinea";
}
}
case "GTQ": {
switch (category) {
case OTHER:
default: return "Quetzal Guatemala";
}
}
case "GYD": {
switch (category) {
case OTHER:
default: return "Dolar Guyana";
}
}
case "HKD": {
switch (category) {
case OTHER:
default: return "Dolar Hong Kong";
}
}
case "HNL": {
switch (category) {
case OTHER:
default: return "Lempira Honduras";
}
}
case "HRK": {
switch (category) {
case OTHER:
default: return "Kuna Kroasia";
}
}
case "HTG": {
switch (category) {
case OTHER:
default: return "Gourde Haiti";
}
}
case "HUF": {
switch (category) {
case OTHER:
default: return "Forint Hungaria";
}
}
case "IDR": {
switch (category) {
case OTHER:
default: return "Rupiah Indonesia";
}
}
case "ILR": {
switch (category) {
case OTHER:
default: return "Shekel Israel (1980–1985)";
}
}
case "ILS": {
switch (category) {
case OTHER:
default: return "Shekel Baru Israel";
}
}
case "INR": {
switch (category) {
case OTHER:
default: return "Rupee India";
}
}
case "IQD": {
switch (category) {
case OTHER:
default: return "Dinar Irak";
}
}
case "IRR": {
switch (category) {
case OTHER:
default: return "Rial Iran";
}
}
case "ISJ": {
switch (category) {
case OTHER:
default: return "Krona Islandia (1918–1981)";
}
}
case "ISK": {
switch (category) {
case OTHER:
default: return "Krona Islandia";
}
}
case "JMD": {
switch (category) {
case OTHER:
default: return "Dolar Jamaika";
}
}
case "JOD": {
switch (category) {
case OTHER:
default: return "Dinar Yordania";
}
}
case "JPY": {
switch (category) {
case OTHER:
default: return "Yen Jepang";
}
}
case "KES": {
switch (category) {
case OTHER:
default: return "Shilling Kenya";
}
}
case "KGS": {
switch (category) {
case OTHER:
default: return "Som Kirgistan";
}
}
case "KHR": {
switch (category) {
case OTHER:
default: return "Riel Kamboja";
}
}
case "KMF": {
switch (category) {
case OTHER:
default: return "Franc Komoro";
}
}
case "KPW": {
switch (category) {
case OTHER:
default: return "Won Korea Utara";
}
}
case "KRH": {
switch (category) {
case OTHER:
default: return "Hwan Korea Selatan (1953–1962)";
}
}
case "KRO": {
switch (category) {
case OTHER:
default: return "Won Korea Selatan (1945–1953)";
}
}
case "KRW": {
switch (category) {
case OTHER:
default: return "Won Korea Selatan";
}
}
case "KWD": {
switch (category) {
case OTHER:
default: return "Dinar Kuwait";
}
}
case "KYD": {
switch (category) {
case OTHER:
default: return "Dolar Kepulauan Cayman";
}
}
case "KZT": {
switch (category) {
case OTHER:
default: return "Tenge Kazakstan";
}
}
case "LAK": {
switch (category) {
case OTHER:
default: return "Kip Laos";
}
}
case "LBP": {
switch (category) {
case OTHER:
default: return "Pound Lebanon";
}
}
case "LKR": {
switch (category) {
case OTHER:
default: return "Rupee Sri Lanka";
}
}
case "LRD": {
switch (category) {
case OTHER:
default: return "Dolar Liberia";
}
}
case "LTL": {
switch (category) {
case OTHER:
default: return "Litas Lituania";
}
}
case "LVL": {
switch (category) {
case OTHER:
default: return "Lats Latvia";
}
}
case "LYD": {
switch (category) {
case OTHER:
default: return "Dinar Libya";
}
}
case "MAD": {
switch (category) {
case OTHER:
default: return "Dirham Maroko";
}
}
case "MDL": {
switch (category) {
case OTHER:
default: return "Leu Moldova";
}
}
case "MGA": {
switch (category) {
case OTHER:
default: return "Ariary Madagaskar";
}
}
case "MKD": {
switch (category) {
case OTHER:
default: return "Denar Makedonia";
}
}
case "MKN": {
switch (category) {
case OTHER:
default: return "Denar Makedonia (1992–1993)";
}
}
case "MMK": {
switch (category) {
case OTHER:
default: return "Kyat Myanmar";
}
}
case "MNT": {
switch (category) {
case OTHER:
default: return "Tugrik Mongolia";
}
}
case "MOP": {
switch (category) {
case OTHER:
default: return "Pataca Makau";
}
}
case "MRO": {
switch (category) {
case OTHER:
default: return "Ouguiya Mauritania";
}
}
case "MUR": {
switch (category) {
case OTHER:
default: return "Rupee Mauritius";
}
}
case "MVP": {
switch (category) {
case OTHER:
default: return "Rufiyaa Maladewa (1947–1981)";
}
}
case "MVR": {
switch (category) {
case OTHER:
default: return "Rufiyaa Maladewa";
}
}
case "MWK": {
switch (category) {
case OTHER:
default: return "Kwacha Malawi";
}
}
case "MXN": {
switch (category) {
case OTHER:
default: return "Peso Meksiko";
}
}
case "MXP": {
switch (category) {
case OTHER:
default: return "Peso Perak Meksiko";
}
}
case "MYR": {
switch (category) {
case OTHER:
default: return "Ringgit Malaysia";
}
}
case "MZM": {
switch (category) {
case OTHER:
default: return "Metical Mozambik (1980–2006)";
}
}
case "MZN": {
switch (category) {
case OTHER:
default: return "Metical Mozambik";
}
}
case "NAD": {
switch (category) {
case OTHER:
default: return "Dolar Namibia";
}
}
case "NGN": {
switch (category) {
case OTHER:
default: return "Naira Nigeria";
}
}
case "NIC": {
switch (category) {
case OTHER:
default: return "Cordoba Nikaragua (1988–1991)";
}
}
case "NIO": {
switch (category) {
case OTHER:
default: return "Cordoba Nikaragua";
}
}
case "NOK": {
switch (category) {
case OTHER:
default: return "Krone Norwegia";
}
}
case "NPR": {
switch (category) {
case OTHER:
default: return "Rupee Nepal";
}
}
case "NZD": {
switch (category) {
case OTHER:
default: return "Dolar Selandia Baru";
}
}
case "OMR": {
switch (category) {
case OTHER:
default: return "Rial Oman";
}
}
case "PAB": {
switch (category) {
case OTHER:
default: return "Balboa Panama";
}
}
case "PEN": {
switch (category) {
case OTHER:
default: return "Sol Peru";
}
}
case "PES": {
switch (category) {
case OTHER:
default: return "Sol Peru (1863–1965)";
}
}
case "PGK": {
switch (category) {
case OTHER:
default: return "Kina Papua Nugini";
}
}
case "PHP": {
switch (category) {
case OTHER:
default: return "Peso Filipina";
}
}
case "PKR": {
switch (category) {
case OTHER:
default: return "Rupee Pakistan";
}
}
case "PLN": {
switch (category) {
case OTHER:
default: return "Polandia Zloty";
}
}
case "PLZ": {
switch (category) {
case OTHER:
default: return "Zloty Polandia (1950–1995)";
}
}
case "PYG": {
switch (category) {
case OTHER:
default: return "Guarani Paraguay";
}
}
case "QAR": {
switch (category) {
case OTHER:
default: return "Rial Qatar";
}
}
case "ROL": {
switch (category) {
case OTHER:
default: return "Leu Rumania (1952–2006)";
}
}
case "RON": {
switch (category) {
case OTHER:
default: return "Leu Rumania";
}
}
case "RSD": {
switch (category) {
case OTHER:
default: return "Dinar Serbia";
}
}
case "RUB": {
switch (category) {
case OTHER:
default: return "Rubel Rusia";
}
}
case "RUR": {
switch (category) {
case OTHER:
default: return "Rubel Rusia (1991–1998)";
}
}
case "RWF": {
switch (category) {
case OTHER:
default: return "Franc Rwanda";
}
}
case "SAR": {
switch (category) {
case OTHER:
default: return "Riyal Arab Saudi";
}
}
case "SBD": {
switch (category) {
case OTHER:
default: return "Dolar Kepulauan Solomon";
}
}
case "SCR": {
switch (category) {
case OTHER:
default: return "Rupee Seychelles";
}
}
case "SDD": {
switch (category) {
case OTHER:
default: return "Dinar Sudan (1992–2007)";
}
}
case "SDG": {
switch (category) {
case OTHER:
default: return "Pound Sudan";
}
}
case "SDP": {
switch (category) {
case OTHER:
default: return "Pound Sudan (1957–1998)";
}
}
case "SEK": {
switch (category) {
case OTHER:
default: return "Krona Swedia";
}
}
case "SGD": {
switch (category) {
case OTHER:
default: return "Dolar Singapura";
}
}
case "SHP": {
switch (category) {
case OTHER:
default: return "Pound Saint Helena";
}
}
case "SLL": {
switch (category) {
case OTHER:
default: return "Leone Sierra Leone";
}
}
case "SOS": {
switch (category) {
case OTHER:
default: return "Shilling Somalia";
}
}
case "SRD": {
switch (category) {
case OTHER:
default: return "Dolar Suriname";
}
}
case "SSP": {
switch (category) {
case OTHER:
default: return "Pound Sudan Selatan";
}
}
case "STD": {
switch (category) {
case OTHER:
default: return "Dobra Sao Tome dan Principe";
}
}
case "SYP": {
switch (category) {
case OTHER:
default: return "Pound Suriah";
}
}
case "SZL": {
switch (category) {
case OTHER:
default: return "Lilangeni Swaziland";
}
}
case "THB": {
switch (category) {
case OTHER:
default: return "Baht Thailand";
}
}
case "TJS": {
switch (category) {
case OTHER:
default: return "Somoni Tajikistan";
}
}
case "TMM": {
switch (category) {
case OTHER:
default: return "Manat Turkmenistan (1993–2009)";
}
}
case "TMT": {
switch (category) {
case OTHER:
default: return "Manat Turkimenistan";
}
}
case "TND": {
switch (category) {
case OTHER:
default: return "Dinar Tunisia";
}
}
case "TOP": {
switch (category) {
case OTHER:
default: return "Paʻanga Tonga";
}
}
case "TRL": {
switch (category) {
case OTHER:
default: return "Lira Turki (1922–2005)";
}
}
case "TRY": {
switch (category) {
case OTHER:
default: return "Lira Turki";
}
}
case "TTD": {
switch (category) {
case OTHER:
default: return "Dolar Trinidad dan Tobago";
}
}
case "TWD": {
switch (category) {
case OTHER:
default: return "Dolar Baru Taiwan";
}
}
case "TZS": {
switch (category) {
case OTHER:
default: return "Shilling Tanzania";
}
}
case "UAH": {
switch (category) {
case OTHER:
default: return "Hryvnia Ukraina";
}
}
case "UGS": {
switch (category) {
case OTHER:
default: return "Shilling Uganda (1966–1987)";
}
}
case "UGX": {
switch (category) {
case OTHER:
default: return "Shilling Uganda";
}
}
case "USD": {
switch (category) {
case OTHER:
default: return "Dolar Amerika Serikat";
}
}
case "UYP": {
switch (category) {
case OTHER:
default: return "Peso Uruguay (1975–1993)";
}
}
case "UYU": {
switch (category) {
case OTHER:
default: return "Peso Uruguay";
}
}
case "UZS": {
switch (category) {
case OTHER:
default: return "Som Uzbekistan";
}
}
case "VEB": {
switch (category) {
case OTHER:
default: return "Bolivar Venezuela (1871–2008)";
}
}
case "VEF": {
switch (category) {
case OTHER:
default: return "Bolivar Venezuela";
}
}
case "VND": {
switch (category) {
case OTHER:
default: return "Dong Vietnam";
}
}
case "VNN": {
switch (category) {
case OTHER:
default: return "Dong Vietnam (1978–1985)";
}
}
case "VUV": {
switch (category) {
case OTHER:
default: return "Vatu Vanuatu";
}
}
case "WST": {
switch (category) {
case OTHER:
default: return "Tala Samoa";
}
}
case "XAF": {
switch (category) {
case OTHER:
default: return "Franc CFA BEAC";
}
}
case "XCD": {
switch (category) {
case OTHER:
default: return "Dolar Karibia Timur";
}
}
case "XOF": {
switch (category) {
case OTHER:
default: return "Franc CFA BCEAO";
}
}
case "XPF": {
switch (category) {
case OTHER:
default: return "Franc CFP";
}
}
case "XXX": {
switch (category) {
case OTHER:
default: return "(mata uang tidak dikenal)";
}
}
case "YER": {
switch (category) {
case OTHER:
default: return "Rial Yaman";
}
}
case "YUD": {
switch (category) {
case OTHER:
default: return "Dinar Keras Yugoslavia";
}
}
case "YUM": {
switch (category) {
case OTHER:
default: return "Dinar Baru Yugoslavia (1994–2002)";
}
}
case "YUN": {
switch (category) {
case OTHER:
default: return "Dinar Konvertibel Yugoslavia (1990–1992)";
}
}
case "YUR": {
switch (category) {
case OTHER:
default: return "Dinar Reformasi Yugoslavia (1992–1993)";
}
}
case "ZAR": {
switch (category) {
case OTHER:
default: return "Rand Afrika Selatan";
}
}
case "ZMK": {
switch (category) {
case OTHER:
default: return "Kwacha Zambia (1968–2012)";
}
}
case "ZMW": {
switch (category) {
case OTHER:
default: return "Kwacha Zambia";
}
}
case "ZRN": {
switch (category) {
case OTHER:
default: return "Zaire Baru Zaire (1993–1998)";
}
}
case "ZRZ": {
switch (category) {
case OTHER:
default: return "Zaire Zaire (1971–1993)";
}
}
case "ZWD": {
switch (category) {
case OTHER:
default: return "Dolar Zimbabwe (1980–2008)";
}
}
default: return "";
}
}
public int getCurrencyDigits(String code) {
return _CurrencyUtil.getCurrencyDigits(code);
}
protected void wrapUnits(PluralCategory category, DigitBuffer dbuf, String unit,
StringBuilder dest) {
switch (category) {
case OTHER:
default: {
dbuf.appendTo(dest);
dest.append(" ");
dest.append(unit);
break;
}
}
}
private static class _Params extends NumberFormatterParams {
_Params() {
this.decimal = ",";
this.group = ".";
this.percent = "%";
this.minus = "-";
this.plus = "+";
this.exponential = "E";
this.superscriptingExponent = "×";
this.perMille = "‰";
this.infinity = "∞";
this.nan = "NaN";
this.currencyDecimal = ",";
this.currencyGroup = ".";
}
}
}