Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/text/
DNumberFormatTest.java158 nf.setCurrency(Currency.getInstance("EUR")); in test_issue79925()
166 nf.setCurrency(Currency.getInstance("SGD")); in test_issue79925()
169 nf.setCurrency(Currency.getInstance("SGD")); in test_issue79925()
172 nf.setCurrency(Currency.getInstance("USD")); in test_issue79925()
175 nf.setCurrency(Currency.getInstance("SGD")); in test_issue79925()
188 nf.setCurrency(Currency.getInstance("USD")); in test_customCurrencySymbol()
217 nf.setCurrency(jpy); in test_setCurrency()
229 nf.setCurrency(Currency.getInstance("EUR")); in test_setCurrency()
233 nf.setCurrency(Currency.getInstance("AMD")); in test_setCurrency()
237 nf.setCurrency(Currency.getInstance("CHF")); in test_setCurrency()
[all …]
DDecimalFormatSymbolsTest.java65 dfs.setCurrency(Currency.getInstance("USD")); in testSetSameCurrency()
69 dfs.setCurrency(Currency.getInstance("USD")); in testSetSameCurrency()
77 dfs.setCurrency(usd); in testSetNulInternationalCurrencySymbol()
DDecimalFormatTest.java310 df.setCurrency(Currency.getInstance("CHF")); in testBug9087737()
311 df.setCurrency(Currency.getInstance("GBP")); in testBug9087737()
357 df.setCurrency(null); in testBug15081434()
398 numberFormat.setCurrency(Currency.getInstance("USD")); in testBug71369()
409 numberFormat.setCurrency(Currency.getInstance("EUR")); in testBug71369()
410 numberFormat.setCurrency(Currency.getInstance("USD")); in testBug71369()
464 localeCurrencyFormat.setCurrency(currency); in formatArbitraryCurrencyAmountInLocale()
DOldNumberFormatTest.java85 format.setCurrency(currA); in test_setCurrencyLjava_util_Currency()
92 ((NumberFormat) cformat).setCurrency(currA); in test_setCurrencyLjava_util_Currency()
98 NumberFormat.getInstance().setCurrency(null); in test_setCurrencyLjava_util_Currency()
105 NumberFormat.getIntegerInstance().setCurrency(null); in test_setCurrencyLjava_util_Currency()
/libcore/ojluni/src/main/java/javax/sql/
DRowSetMetaData.java105 void setCurrency(int columnIndex, boolean property) throws SQLException; in setCurrency() method
/libcore/luni/src/test/java/libcore/highmemorytest/java/text/
DDecimalFormatTest.java60 df.setCurrency(currency); in assertCurrencyFormat()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormatSymbols.java504 public void setCurrency(Currency currency) { in setCurrency() method in DecimalFormatSymbols
1049 cachedIcuDFS.setCurrency(
1085 result.setCurrency(Currency.getInstance(dfs.getCurrency().getCurrencyCode()));
1087 result.setCurrency(Currency.getInstance("XXX"));
1090 result.setCurrency(Currency.getInstance("XXX"));
DNumberFormat.java926 public void setCurrency(Currency currency) { in setCurrency() method in NumberFormat
DDecimalFormat.java4274 public void setCurrency(Currency currency) { in setCurrency() method in DecimalFormat
4288 symbols.setCurrency(currency); in setCurrency()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DNumberFormatTest.java237 format.setCurrency(currA); in test_setCurrencyLjava_util_Currency()
244 ((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.java653 cloned.setCurrency(c); in test_equals()
1911 df.setCurrency(null); in test_setCurrency()
1917 df.setCurrency(currency); in test_setCurrency()
/libcore/ojluni/annotations/hiddenapi/java/text/
DDecimalFormatSymbols.java176 public void setCurrency(java.util.Currency currency) { in setCurrency() method in DecimalFormatSymbols
DNumberFormat.java192 public void setCurrency(java.util.Currency currency) { in setCurrency() method in NumberFormat
/libcore/ojluni/annotations/sdk/nullability/java/text/
DNumberFormat.annotated.java124 public void setCurrency(@libcore.util.NonNull java.util.Currency currency) { throw new RuntimeExcep… in setCurrency() method in NumberFormat
/libcore/api/
Dcurrent.txt11178 method public void setCurrency(java.util.Currency);
11289 method public void setCurrency(@NonNull java.util.Currency);
20154 method public void setCurrency(int, boolean) throws java.sql.SQLException;