Home
last modified time | relevance | path

Searched refs:currency (Results 1 – 6 of 6) sorted by relevance

/libcore/luni/src/main/java/java/text/
DDecimalFormatSymbols.java56 private transient Currency currency; field in DecimalFormatSymbols
99 currency = Currency.getInstance(locale); in DecimalFormatSymbols()
100 currencySymbol = currency.getSymbol(locale); in DecimalFormatSymbols()
101 intlCurrencySymbol = currency.getCurrencyCode(); in DecimalFormatSymbols()
103 currency = Currency.getInstance("XXX"); in DecimalFormatSymbols()
174 return currency.equals(obj.currency) && in equals()
194 "[currency=" + currency + in toString()
227 return currency; in getCurrency()
390 public void setCurrency(Currency currency) { in setCurrency() argument
391 if (currency == null) { in setCurrency()
[all …]
DDecimalFormat.java922 public void setCurrency(Currency currency) { in setCurrency() argument
923 ndf.setCurrency(Currency.getInstance(currency.getCurrencyCode())); in setCurrency()
924 symbols.setCurrency(currency); in setCurrency()
DNumberFormat.java590 public void setCurrency(Currency currency) { in setCurrency() argument
/libcore/luni/src/main/java/java/util/
DCurrency.java52 Currency currency = codesToCurrencies.get(currencyCode); in getInstance() local
53 if (currency == null) { in getInstance()
54 currency = new Currency(currencyCode); in getInstance()
55 codesToCurrencies.put(currencyCode, currency); in getInstance()
57 return currency; in getInstance()
68 Currency currency = localesToCurrencies.get(locale); in getInstance() local
69 if (currency != null) { in getInstance()
70 return currency; in getInstance()
/libcore/luni/src/main/java/libcore/icu/
DNativeDecimalFormat.java411 public void setCurrency(Currency currency) { in setCurrency() argument
412 setSymbol(this.address, UNUM_CURRENCY_SYMBOL, currency.getSymbol()); in setCurrency()
413 setSymbol(this.address, UNUM_INTL_CURRENCY_SYMBOL, currency.getCurrencyCode()); in setCurrency()
/libcore/luni/src/main/native/
Dlibcore_icu_ICU.cpp143 …ScopedResourceBundle currency(ures_getByKey(currencyMap.get(), countryCode.c_str(), NULL, &status)… in ICU_getCurrencyCode() local
148 ScopedResourceBundle currencyElem(ures_getByIndex(currency.get(), 0, NULL, &status)); in ICU_getCurrencyCode()