Home
last modified time | relevance | path

Searched refs:getCurrencySymbol (Results 1 – 11 of 11) 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()
DOldDecimalFormatSymbolsTest.java116 assertEquals("Returned incorrect CurrencySymbol symbol", "$", dfs.getCurrencySymbol()); in test_setCurrencySymbolLjava_lang_String()
144 assertEquals("\u20AC", dfs.getCurrencySymbol()); in test_DecimalFormatSymbols_France()
/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/main/java/java/util/
DCurrency.java38 String symbol = ICU.getCurrencySymbol(Locale.US, currencyCode); in Currency()
162 String symbol = ICU.getCurrencySymbol(locale, currencyCode); in getSymbol()
/libcore/luni/src/test/java/libcore/icu/
DICUTest.java236 assertEquals("$", ICU.getCurrencySymbol(enUsLocale, usDollar));
243 assertEquals("$", ICU.getCurrencySymbol(unrecognizedLocale, usDollar));
248 String currencySymbolAfterDefaultChange = ICU.getCurrencySymbol(unrecognizedLocale, usDollar);
/libcore/luni/src/main/java/libcore/icu/
DICU.java395 public static String getCurrencySymbol(Locale locale, String currencyCode) { in getCurrencySymbol() method in ICU
396 return getCurrencySymbol(locale.toLanguageTag(), currencyCode); in getCurrencySymbol()
399 private static native String getCurrencySymbol(String languageTag, String currencyCode); in getCurrencySymbol() method in ICU
DNativeDecimalFormat.java156 this.address = open(pattern, dfs.getCurrencySymbol(), in NativeDecimalFormat()
268 setDecimalFormatSymbols(this.address, dfs.getCurrencySymbol(), dfs.getDecimalSeparator(), in setDecimalFormatSymbols()
/libcore/luni/src/main/java/java/text/
DDecimalFormatSymbols.java249 public String getCurrencySymbol() { in getCurrencySymbol() method in DecimalFormatSymbols
DDecimalFormat.java905 ndf.setCurrency(symbols.getCurrencySymbol(), currency.getCurrencyCode()); in setCurrency()
/libcore/luni/src/main/native/
Dlibcore_icu_ICU.cpp796 … NATIVE_METHOD(ICU, getCurrencySymbol, "(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;"),