Home
last modified time | relevance | path

Searched refs:setCurrency (Results 1 – 14 of 14) 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 …]
DDecimalFormatTest.java200 df.setCurrency(Currency.getInstance("CHF")); in testBug9087737()
201 df.setCurrency(Currency.getInstance("GBP")); in testBug9087737()
247 df.setCurrency(null); in testBug15081434()
288 numberFormat.setCurrency(Currency.getInstance("USD")); in testBug71369()
299 numberFormat.setCurrency(Currency.getInstance("EUR")); in testBug71369()
300 numberFormat.setCurrency(Currency.getInstance("USD")); in testBug71369()
327 df.setCurrency(currency); in assertCurrencyFormat()
382 localeCurrencyFormat.setCurrency(currency); in formatArbitraryCurrencyAmountInLocale()
DDecimalFormatSymbolsTest.java65 dfs.setCurrency(Currency.getInstance("USD")); in testSetSameCurrency()
69 dfs.setCurrency(Currency.getInstance("USD")); in testSetSameCurrency()
77 dfs.setCurrency(usd); in testSetNulInternationalCurrencySymbol()
DOldNumberFormatTest.java82 format.setCurrency(currA); in test_setCurrencyLjava_util_Currency()
89 ((NumberFormat) cformat).setCurrency(currA); in test_setCurrencyLjava_util_Currency()
95 NumberFormat.getInstance().setCurrency(null); in test_setCurrencyLjava_util_Currency()
102 NumberFormat.getIntegerInstance().setCurrency(null); in test_setCurrencyLjava_util_Currency()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormatSymbols.java486 public void setCurrency(Currency currency) { in setCurrency() method in DecimalFormatSymbols
806 cachedIcuDFS.setCurrency( in getIcuDecimalFormatSymbols()
840 result.setCurrency(Currency.getInstance(dfs.getCurrency().getCurrencyCode())); in fromIcuInstance()
842 result.setCurrency(Currency.getInstance("XXX")); in fromIcuInstance()
845 result.setCurrency(Currency.getInstance("XXX")); in fromIcuInstance()
DNumberFormat.java786 public void setCurrency(Currency currency) { in setCurrency() method in NumberFormat
DDecimalFormat.java4089 public void setCurrency(Currency currency) { in setCurrency() method in DecimalFormat
4103 symbols.setCurrency(currency); in setCurrency()
/libcore/ojluni/src/main/java/javax/sql/
DRowSetMetaData.java105 void setCurrency(int columnIndex, boolean property) throws SQLException; in setCurrency() method
/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.java652 cloned.setCurrency(c); in test_equals()
1910 df.setCurrency(null); in test_setCurrency()
1916 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