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()
160 assertEquals(dfs.getCurrencySymbol(), icuSymb.getCurrencySymbol()); in compareDfs()
DOldDecimalFormatSymbolsTest.java130 assertEquals("Returned incorrect CurrencySymbol symbol", "$", dfs.getCurrencySymbol()); in test_setCurrencySymbolLjava_lang_String()
158 assertEquals("\u20AC", dfs.getCurrencySymbol()); in test_DecimalFormatSymbols_France()
DDecimalFormatTest.java459 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.java1920 df.getDecimalFormatSymbols().getCurrencySymbol()); in test_setCurrency()
/libcore/ojluni/src/test/java/text/Format/NumberFormat/
DDFSDeserialization142.java45 if (dfs.getCurrencySymbol().equals("*SpecialCurrencySymbol*")){ in main()
48 … throw new Exception("Serialization/Deserialization Test Failed:"+dfs.getCurrencySymbol()); in main()
DDFSSerialization142.java43 … System.out.println("Default currency symbol in the default locale : " + dfs.getCurrencySymbol()); in main()
45 System.out.println("The special currency symbol is set : " + dfs.getCurrencySymbol()); in main()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormatSymbols.java410 public String getCurrencySymbol() in getCurrencySymbol() method in DecimalFormatSymbols
782getCurrencySymbol().equals(other.getCurrencySymbol()) && // possible currency init occurs here in equals()
811 getCurrencySymbol(), // possible currency init occurs here in hashCode()
1094 result.setCurrencySymbol(dfs.getCurrencySymbol());
DDecimalFormat.java4287 || !currency.getSymbol().equals(symbols.getCurrencySymbol())) { in setCurrency()
/libcore/ojluni/annotations/hiddenapi/java/text/
DDecimalFormatSymbols.java156 public java.lang.String getCurrencySymbol() { in getCurrencySymbol() method in DecimalFormatSymbols
/libcore/api/
Dcurrent.txt11161 method public String getCurrencySymbol();