Home
last modified time | relevance | path

Searched refs:getDefaultFractionDigits (Results 1 – 6 of 6) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCurrencyTest.java325 c1.getDefaultFractionDigits(); in test_getDefaultFractionDigits()
328 .getDefaultFractionDigits()); in test_getDefaultFractionDigits()
331 c2.getDefaultFractionDigits(); in test_getDefaultFractionDigits()
334 .getDefaultFractionDigits()); in test_getDefaultFractionDigits()
337 c3.getDefaultFractionDigits(); in test_getDefaultFractionDigits()
340 .getDefaultFractionDigits()); in test_getDefaultFractionDigits()
343 c4.getDefaultFractionDigits(); in test_getDefaultFractionDigits()
346 .getDefaultFractionDigits()); in test_getDefaultFractionDigits()
/libcore/luni/src/test/java/libcore/java/util/
DCurrencyTest.java125 assertEquals(2, Currency.getInstance("USD").getDefaultFractionDigits()); in test_getDefaultFractionDigits()
126 assertEquals(0, Currency.getInstance("JPY").getDefaultFractionDigits()); in test_getDefaultFractionDigits()
127 assertEquals(-1, Currency.getInstance("XXX").getDefaultFractionDigits()); in test_getDefaultFractionDigits()
/libcore/ojluni/src/main/java/java/util/
DCurrency.java580 public int getDefaultFractionDigits() { in getDefaultFractionDigits() method in Currency
586 return icuCurrency.getDefaultFractionDigits(); in getDefaultFractionDigits()
/libcore/luni/src/test/java/libcore/java/text/
DNumberFormatTest.java215 assertEquals(0, jpy.getDefaultFractionDigits()); in test_setCurrency()
223 nf.setMaximumFractionDigits(jpy.getDefaultFractionDigits()); in test_setCurrency()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormat.java4375 int digits = currency.getDefaultFractionDigits(); in adjustForCurrencyDefaultFractionDigits()
/libcore/api/
Dcurrent.txt13720 method public int getDefaultFractionDigits();