Home
last modified time | relevance | path

Searched defs:currency (Results 1 – 11 of 11) sorted by relevance

/libcore/luni/src/test/java/libcore/java/util/
DCurrencyTest.java39 Currency currency = Currency.getInstance("DEM"); in test_getSymbol_locale() local
51 Currency currency = Currency.getInstance("DEM"); in test_getSymbol_noLocaleArgument() local
83 Currency currency = Currency.getInstance("CHF"); in test_getDisplayName_locale_chf() local
91 Currency currency = Currency.getInstance("DEM"); in test_getDisplayName_locale_dem() local
98 Currency currency = Currency.getInstance("CHF"); in test_getDisplayName_null() local
112 Currency currency = Currency.getInstance("DEM"); in test_getDisplayName_noLocaleArgument() local
142 Currency currency = Currency.getInstance(Locale.getDefault()); in test_nullLocales() local
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatSymbolsTest.java118 Currency currency = Currency.getInstance("USD"); in test_getCurrency() local
295 Currency currency = Currency.getInstance("JPY"); in test_setCurrencyLjava_util_Currency() local
371 Currency currency = Currency.getInstance("JPY"); in test_setInternationalCurrencySymbolLjava_lang_String() local
458 Currency currency = symbols.getCurrency(); in test_serialization() local
DDecimalFormatTest.java1915 Currency currency = Currency.getInstance("AED"); in test_setCurrency() local
/libcore/luni/src/test/java/libcore/java/text/
DDecimalFormatTest.java309 Currency currency = Currency.getInstance(Locale.US); in testCurrencySymbolSpacing() local
317 currency, locale); in testCurrencySymbolSpacing() local
325 Currency currency, Locale locale) { in assertCurrencyFormat()
343 Currency currency = Currency.getInstance("CNY"); in testSetCurrency_symbolOrigin() local
380 private String formatArbitraryCurrencyAmountInLocale(Currency currency, Locale locale) { in formatArbitraryCurrencyAmountInLocale()
/libcore/ojluni/annotations/hiddenapi/java/text/
DDecimalFormatSymbols.java160 public void setCurrencySymbol(java.lang.String currency) { in setCurrencySymbol()
176 public void setCurrency(java.util.Currency currency) { in setCurrency()
246 private transient java.util.Currency currency; field in DecimalFormatSymbols
DNumberFormat.java192 public void setCurrency(java.util.Currency currency) { in setCurrency()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormatSymbols.java411 public void setCurrencySymbol(String currency) in setCurrencySymbol()
486 public void setCurrency(Currency currency) { in setCurrency()
1115 private transient Currency currency; field in DecimalFormatSymbols
DDecimalFormat.java4089 public void setCurrency(Currency currency) { in setCurrency()
4182 Currency currency = symbols.getCurrency(); in adjustForCurrencyDefaultFractionDigits() local
DNumberFormat.java786 public void setCurrency(Currency currency) { in setCurrency()
/libcore/ojluni/src/main/java/java/util/
DCurrency.java425 Currency currency = getInstance(icuCurrency.getCurrencyCode()); in getAvailableCurrencies() local
/libcore/ojluni/annotations/sdk/nullability/java/text/
DNumberFormat.annotated.java124 …urrency(@libcore.util.NonNull java.util.Currency currency) { throw new RuntimeException("Stub!"); } in setCurrency()