Home
last modified time | relevance | path

Searched refs:setCurrency (Results 1 – 13 of 13) 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.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()
308 df.setCurrency(currency); in assertCurrencyFormat()
363 localeCurrencyFormat.setCurrency(currency); in formatArbitraryCurrencyAmountInLocale()
DOldNumberFormatTest.java79 format.setCurrency(currA); in test_setCurrencyLjava_util_Currency()
86 ((NumberFormat) cformat).setCurrency(currA); in test_setCurrencyLjava_util_Currency()
92 NumberFormat.getInstance().setCurrency(null); in test_setCurrencyLjava_util_Currency()
99 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/ojluni/src/main/java/java/text/
DDecimalFormatSymbols.java486 public void setCurrency(Currency currency) { in setCurrency() method in DecimalFormatSymbols
797 cachedIcuDFS.setCurrency( in getIcuDecimalFormatSymbols()
831 result.setCurrency(Currency.getInstance(dfs.getCurrency().getCurrencyCode())); in fromIcuInstance()
833 result.setCurrency(Currency.getInstance("XXX")); in fromIcuInstance()
836 result.setCurrency(Currency.getInstance("XXX")); in fromIcuInstance()
DNumberFormat.java786 public void setCurrency(Currency currency) { in setCurrency() method in NumberFormat
/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()
1886 df.setCurrency(null); in test_setCurrency()
1892 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