Home
last modified time | relevance | path

Searched refs:getCurrencySymbol (Results 1 – 10 of 10) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DDecimalFormatSymbolsTest.java66 assertEquals("$", dfs.getCurrencySymbol()); in testSetSameCurrency()
68 assertEquals("poop", dfs.getCurrencySymbol()); in testSetSameCurrency()
70 assertEquals("$", dfs.getCurrencySymbol()); in testSetSameCurrency()
79 assertEquals("$", dfs.getCurrencySymbol()); in testSetNulInternationalCurrencySymbol()
86 assertEquals("$", dfs.getCurrencySymbol()); in testSetNulInternationalCurrencySymbol()
160 assertEquals(dfs.getCurrencySymbol(), icuSymb.getCurrencySymbol()); in compareDfs()
DOldDecimalFormatSymbolsTest.java116 assertEquals("Returned incorrect CurrencySymbol symbol", "$", dfs.getCurrencySymbol()); in test_setCurrencySymbolLjava_lang_String()
144 assertEquals("\u20AC", dfs.getCurrencySymbol()); in test_DecimalFormatSymbols_France()
DDecimalFormatTest.java330 assertEquals("¥", decimalFormat.getDecimalFormatSymbols().getCurrencySymbol()); in testSetCurrencySymbol()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatSymbolsTest.java132 .getCurrencySymbol()); in test_getCurrency()
140 .getCurrencySymbol()); in test_getCurrency()
148 .getCurrencySymbol()); in test_getCurrency()
156 .getCurrencySymbol()); in test_getCurrency()
175 .getCurrencySymbol()); in test_getCurrencySymbol()
300 locale), dfs.getCurrencySymbol()); in test_setCurrencyLjava_util_Currency()
377 .getSymbol(locale), dfs.getCurrencySymbol()); in test_setInternationalCurrencySymbolLjava_lang_String()
519 assertEquals("\u20AC", dfs.getCurrencySymbol()); in assertDecimalFormatSymbolsRIFrance()
DDecimalFormatTest.java1895 df.getDecimalFormatSymbols().getCurrencySymbol()); in test_setCurrency()
/libcore/luni/src/test/java/libcore/icu/
DICUTest.java237 assertEquals("$", ICU.getCurrencySymbol(enUsLocale, usDollar));
244 assertEquals("$", ICU.getCurrencySymbol(unrecognizedLocale, usDollar));
249 String currencySymbolAfterDefaultChange = ICU.getCurrencySymbol(unrecognizedLocale, usDollar);
/libcore/luni/src/main/java/libcore/icu/
DICU.java408 public static String getCurrencySymbol(Locale locale, String currencyCode) { in getCurrencySymbol() method in ICU
409 return getCurrencySymbol(locale.toLanguageTag(), currencyCode); in getCurrencySymbol()
412 private static native String getCurrencySymbol(String languageTag, String currencyCode); in getCurrencySymbol() method in ICU
/libcore/ojluni/src/main/java/java/text/
DDecimalFormatSymbols.java390 public String getCurrencySymbol() in getCurrencySymbol() method in DecimalFormatSymbols
812 result.setCurrencySymbol(dfs.getCurrencySymbol()); in fromIcuInstance()
DDecimalFormat.java1401 || !currency.getSymbol().equals(symbols.getCurrencySymbol())) { in setCurrency()
/libcore/luni/src/main/native/
Dlibcore_icu_ICU.cpp824 … NATIVE_METHOD(ICU, getCurrencySymbol, "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;"),