Home
last modified time | relevance | path

Searched refs:getCurrency (Results 1 – 15 of 15) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatSymbolsTest.java120 dfsUS.getCurrency(), currency); in test_getCurrency()
130 dfs1.getCurrency() == currK); in test_getCurrency()
138 dfs1.getCurrency() == currK); in test_getCurrency()
146 dfs1.getCurrency() == currX); in test_getCurrency()
154 dfs1.getCurrency() == currE); in test_getCurrency()
298 assertTrue("Returned incorrect currency", currency == dfs.getCurrency()); in test_setCurrencyLjava_util_Currency()
375 .getCurrency()); in test_setInternationalCurrencySymbolLjava_lang_String()
458 Currency currency = symbols.getCurrency(); in test_serialization()
473 currency = symbolsD.getCurrency(); in test_serialization()
518 assertEquals("EUR", dfs.getCurrency().getCurrencyCode()); in assertDecimalFormatSymbolsRIFrance()
DNumberFormatTest.java208 assertSame("Returned incorrect currency", currH, format.getCurrency()); in test_getCurrency()
214 ((NumberFormat) cformat).getCurrency(); in test_getCurrency()
238 assertSame("Returned incorrect currency", currA, format.getCurrency()); in test_setCurrencyLjava_util_Currency()
DDecimalFormatTest.java1742 assertTrue("Test1: Returned incorrect currency", df.getCurrency() == currK); in test_getCurrency()
1745 assertTrue("Test2: Returned incorrect currency", df.getCurrency() == currK); in test_getCurrency()
1748 assertTrue("Test3: Returned incorrect currency", df.getCurrency() == currX); in test_getCurrency()
1751 assertTrue("Test4: Returned incorrect currency", df.getCurrency() == currE); in test_getCurrency()
1755 assertTrue("Test5: Returned incorrect currency", df.getCurrency() == currX); in test_getCurrency()
1918 assertTrue("Returned incorrect currency", currency == df.getCurrency()); in test_setCurrency()
1982 assertEquals(df.getCurrency(), deserializedDF.getCurrency()); in testSerializationHarmonyRICompatible()
/libcore/luni/src/test/java/libcore/java/text/
DOldDecimalFormatSymbolsTest.java112 assertEquals(fs.getCurrency(), fsc.getCurrency()); in test_clone()
157 assertEquals("EUR", dfs.getCurrency().getCurrencyCode()); in test_DecimalFormatSymbols_France()
DDecimalFormatSymbolsTest.java78 assertEquals(usd, dfs.getCurrency()); in testSetNulInternationalCurrencySymbol()
85 assertEquals(null, dfs.getCurrency()); in testSetNulInternationalCurrencySymbol()
159 assertEquals(dfs.getCurrency().getCurrencyCode(), icuSymb.getCurrency().getCurrencyCode()); in compareDfs()
DOldNumberFormatTest.java86 assertSame("Returned incorrect currency", currA, format.getCurrency()); in test_setCurrencyLjava_util_Currency()
/libcore/luni/src/test/java/libcore/highmemorytest/java/util/
DCurrencyTest.java65 Currency javaCurrency = getCurrency(locale); in test_currencyCodeIcuConsistency()
74 private static Currency getCurrency(Locale l) { in getCurrency() method in CurrencyTest
/libcore/luni/src/test/java/libcore/java/util/
DCurrencyTest.java211 assertEquals("EUR", getCurrency(locale).getCurrencyCode()); in test_localeExtension()
214 private static Currency getCurrency(Locale l) { in getCurrency() method in CurrencyTest
/libcore/ojluni/src/main/java/java/text/
DDecimalFormatSymbols.java487 public Currency getCurrency() { in getCurrency() method in DecimalFormatSymbols
1050 android.icu.util.Currency.getInstance(getCurrency().getCurrencyCode()));
1084 if (dfs.getCurrency() != null) {
1085 result.setCurrency(Currency.getInstance(dfs.getCurrency().getCurrencyCode()));
DDecimalFormat.java4257 public Currency getCurrency() { in getCurrency() method in DecimalFormat
4258 return symbols.getCurrency(); in getCurrency()
4286 if (currency != symbols.getCurrency() in setCurrency()
4367 Currency currency = symbols.getCurrency(); in adjustForCurrencyDefaultFractionDigits()
DNumberFormat.java908 public Currency getCurrency() { in getCurrency() method in NumberFormat
/libcore/ojluni/annotations/hiddenapi/java/text/
DDecimalFormatSymbols.java172 public java.util.Currency getCurrency() { in getCurrency() method in DecimalFormatSymbols
DNumberFormat.java188 public java.util.Currency getCurrency() { in getCurrency() method in NumberFormat
/libcore/ojluni/annotations/sdk/nullability/java/text/
DNumberFormat.annotated.java122 @libcore.util.Nullable public java.util.Currency getCurrency() { throw new RuntimeException("Stub!"… in getCurrency() method in NumberFormat
/libcore/api/
Dcurrent.txt11160 method public java.util.Currency getCurrency();
11268 method @Nullable public java.util.Currency getCurrency();