Home
last modified time | relevance | path

Searched refs:currencyCode (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/main/java/java/util/
DCurrency.java34 private final String currencyCode; field in Currency
36 private Currency(String currencyCode) { in Currency() argument
37 this.currencyCode = currencyCode; in Currency()
38 String symbol = ICU.getCurrencySymbol(Locale.US.toString(), currencyCode); in Currency()
41 currencyCode); in Currency()
50 public static Currency getInstance(String currencyCode) { in getInstance() argument
52 Currency currency = codesToCurrencies.get(currencyCode); in getInstance()
54 currency = new Currency(currencyCode); in getInstance()
55 codesToCurrencies.put(currencyCode, currency); in getInstance()
79 String currencyCode = ICU.getCurrencyCode(country); in getInstance() local
[all …]
/libcore/luni/src/main/java/libcore/icu/
DICU.java176 public static native String getCurrencyDisplayName(String locale, String currencyCode); in getCurrencyDisplayName() argument
177 public static native int getCurrencyFractionDigits(String currencyCode); in getCurrencyFractionDigits() argument
178 public static native String getCurrencySymbol(String locale, String currencyCode); in getCurrencySymbol() argument
/libcore/luni/src/main/native/
Dlibcore_icu_ICU.cpp120 ScopedJavaUnicodeString currencyCode(env, javaCurrencyCode); in ICU_getCurrencyFractionDigits() local
121 if (!currencyCode.valid()) { in ICU_getCurrencyFractionDigits()
124 UnicodeString icuCurrencyCode(currencyCode.unicodeString()); in ICU_getCurrencyFractionDigits()
177 ScopedJavaUnicodeString currencyCode(env, javaCurrencyCode); in getCurrencyName() local
178 if (!currencyCode.valid()) { in getCurrencyName()
181 UnicodeString icuCurrencyCode(currencyCode.unicodeString()); in getCurrencyName()