Home
last modified time | relevance | path

Searched refs:setCurrency (Results 1 – 12 of 12) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DNumberFormatTest.java136 nf.setCurrency(Currency.getInstance("AMD")); in test_setCurrency()
144 nf.setCurrency(Currency.getInstance("AMD")); in test_setCurrency()
147 nf.setCurrency(Currency.getInstance("AMD")); in test_setCurrency()
150 nf.setCurrency(Currency.getInstance("USD")); in test_setCurrency()
153 nf.setCurrency(Currency.getInstance("AMD")); in test_setCurrency()
DDecimalFormatSymbolsTest.java65 dfs.setCurrency(Currency.getInstance("USD")); in testSetSameCurrency()
69 dfs.setCurrency(Currency.getInstance("USD")); in testSetSameCurrency()
77 dfs.setCurrency(usd); in testSetNulInternationalCurrencySymbol()
DDecimalFormatTest.java199 df.setCurrency(Currency.getInstance("CHF")); in testBug9087737()
200 df.setCurrency(Currency.getInstance("GBP")); in testBug9087737()
246 df.setCurrency(null); in testBug15081434()
269 numberFormat.setCurrency(Currency.getInstance("USD")); in testBug71369()
280 numberFormat.setCurrency(Currency.getInstance("EUR")); in testBug71369()
281 numberFormat.setCurrency(Currency.getInstance("USD")); in testBug71369()
318 localeCurrencyFormat.setCurrency(currency); in formatArbitraryCurrencyAmountInLocale()
DOldNumberFormatTest.java78 format.setCurrency(currA); in test_setCurrencyLjava_util_Currency()
85 ((NumberFormat) cformat).setCurrency(currA); in test_setCurrencyLjava_util_Currency()
91 NumberFormat.getInstance().setCurrency(null); in test_setCurrencyLjava_util_Currency()
98 NumberFormat.getIntegerInstance().setCurrency(null); in test_setCurrencyLjava_util_Currency()
/libcore/luni/src/main/java/javax/sql/
DRowSetMetaData.java181 public void setCurrency(int columnIndex, boolean isCurrency) in setCurrency() method
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DNumberFormatTest.java234 format.setCurrency(currA); in test_setCurrencyLjava_util_Currency()
241 ((NumberFormat) cformat).setCurrency(currA); in test_setCurrencyLjava_util_Currency()
DDecimalFormatSymbolsTest.java290 dfs.setCurrency(null); in test_setCurrencyLjava_util_Currency()
296 dfs.setCurrency(currency); in test_setCurrencyLjava_util_Currency()
DDecimalFormatTest.java652 cloned.setCurrency(c); in test_equals()
1886 df.setCurrency(null); in test_setCurrency()
1892 df.setCurrency(currency); in test_setCurrency()
/libcore/luni/src/main/java/java/text/
DDecimalFormat.java902 public void setCurrency(Currency currency) { in setCurrency() method in DecimalFormat
904 symbols.setCurrency(instance); in setCurrency()
905 ndf.setCurrency(symbols.getCurrencySymbol(), currency.getCurrencyCode()); in setCurrency()
DNumberFormat.java606 public void setCurrency(Currency currency) { in setCurrency() method in NumberFormat
DDecimalFormatSymbols.java413 public void setCurrency(Currency currency) { in setCurrency() method in DecimalFormatSymbols
/libcore/luni/src/main/java/libcore/icu/
DNativeDecimalFormat.java478 public void setCurrency(String currencySymbol, String currencyCode) { in setCurrency() method in NativeDecimalFormat