Home
last modified time | relevance | path

Searched refs:getCurrency (Results 1 – 13 of 13) 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.java1741 assertTrue("Test1: Returned incorrect currency", df.getCurrency() == currK); in test_getCurrency()
1744 assertTrue("Test2: Returned incorrect currency", df.getCurrency() == currK); in test_getCurrency()
1747 assertTrue("Test3: Returned incorrect currency", df.getCurrency() == currX); in test_getCurrency()
1750 assertTrue("Test4: Returned incorrect currency", df.getCurrency() == currE); in test_getCurrency()
1754 assertTrue("Test5: Returned incorrect currency", df.getCurrency() == currX); in test_getCurrency()
1917 assertTrue("Returned incorrect currency", currency == df.getCurrency()); in test_setCurrency()
1970 assertEquals(df.getCurrency(), deserializedDF.getCurrency()); in testSerializationHarmonyRICompatible()
/libcore/luni/src/test/java/libcore/java/text/
DOldDecimalFormatSymbolsTest.java107 assertEquals(fs.getCurrency(), fsc.getCurrency()); in test_clone()
152 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.java83 assertSame("Returned incorrect currency", currA, format.getCurrency()); in test_setCurrencyLjava_util_Currency()
/libcore/luni/src/test/java/libcore/java/util/
DCurrencyTest.java201 Currency javaCurrency = getCurrency(l); in test_currencyCodeIcuConsistency()
213 assertEquals("USD", getCurrency(locale).getCurrencyCode()); in test_localeExtension()
216 private static Currency getCurrency(Locale l) { in getCurrency() method in CurrencyTest
/libcore/ojluni/src/main/java/java/text/
DDecimalFormatSymbols.java470 public Currency getCurrency() { in getCurrency() method in DecimalFormatSymbols
839 if (dfs.getCurrency() != null) { in fromIcuInstance()
840 result.setCurrency(Currency.getInstance(dfs.getCurrency().getCurrencyCode())); in fromIcuInstance()
DDecimalFormat.java4072 public Currency getCurrency() { in getCurrency() method in DecimalFormat
4073 return symbols.getCurrency(); in getCurrency()
4101 if (currency != symbols.getCurrency() in setCurrency()
4182 Currency currency = symbols.getCurrency(); in adjustForCurrencyDefaultFractionDigits()
DNumberFormat.java768 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