Home
last modified time | relevance | path

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

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DCurrencyTest.java324 c1.getDefaultFractionDigits(); in test_getDefaultFractionDigits()
327 .getDefaultFractionDigits()); in test_getDefaultFractionDigits()
330 c2.getDefaultFractionDigits(); in test_getDefaultFractionDigits()
333 .getDefaultFractionDigits()); in test_getDefaultFractionDigits()
336 c3.getDefaultFractionDigits(); in test_getDefaultFractionDigits()
339 .getDefaultFractionDigits()); in test_getDefaultFractionDigits()
342 c4.getDefaultFractionDigits(); in test_getDefaultFractionDigits()
345 .getDefaultFractionDigits()); in test_getDefaultFractionDigits()
/libcore/luni/src/test/java/libcore/java/util/
DCurrencyTest.java123 assertEquals(2, Currency.getInstance("USD").getDefaultFractionDigits()); in test_getDefaultFractionDigits()
124 assertEquals(0, Currency.getInstance("JPY").getDefaultFractionDigits()); in test_getDefaultFractionDigits()
125 assertEquals(-1, Currency.getInstance("XXX").getDefaultFractionDigits()); in test_getDefaultFractionDigits()
/libcore/ojluni/src/main/java/java/util/
DCurrency.java510 public int getDefaultFractionDigits() { in getDefaultFractionDigits() method in Currency
516 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.java4190 int digits = currency.getDefaultFractionDigits(); in adjustForCurrencyDefaultFractionDigits()