Home
last modified time | relevance | path

Searched refs:getMaximumFractionDigits (Results 1 – 8 of 8) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DOldNumberFormatTest.java37 assertEquals(0, format.getMaximumFractionDigits()); in test_getIntegerInstanceLjava_util_Locale()
47 assertEquals(0, format.getMaximumFractionDigits()); in test_getIntegerInstanceLjava_util_Locale()
61 assertEquals(0, format.getMaximumFractionDigits()); in test_getIntegerInstanceLjava_util_Locale()
450 int result = nf1.getMaximumFractionDigits(); in test_getMaximumFractionDigits()
456 result = nf1.getMaximumFractionDigits(); in test_getMaximumFractionDigits()
461 result = nf1.getMaximumFractionDigits(); in test_getMaximumFractionDigits()
654 int result = nf1.getMaximumFractionDigits(); in test_setMaximumFractionDigits()
658 result = nf1.getMaximumFractionDigits(); in test_setMaximumFractionDigits()
664 result = nf1.getMaximumFractionDigits(); in test_setMaximumFractionDigits()
674 result = nf1.getMaximumFractionDigits(); in test_setMaximumFractionDigits()
DNumberFormatTest.java219 assertEquals(2, nf.getMaximumFractionDigits()); // currency specific fractional digits. in test_setCurrency()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormat.java510 maximumFractionDigits = icuDecimalFormat.getMaximumFractionDigits(); in updateFieldsFromIcu()
3980 icuDecimalFormat.setMaximumFractionDigits(getMaximumFractionDigits()); in setMaximumFractionDigits()
4044 public int getMaximumFractionDigits() { in getMaximumFractionDigits() method in DecimalFormat
4195 if (oldMinDigits == getMaximumFractionDigits()) { in adjustForCurrencyDefaultFractionDigits()
4255 fields.put("maximumFractionDigits", icuDecimalFormat.getMaximumFractionDigits()); in writeObject()
4412 if (maximumFractionDigits != icuDecimalFormat.getMaximumFractionDigits()) { in readObject()
4431 setMaximumFractionDigits(super.getMaximumFractionDigits()); in readObject()
DNumberFormat.java700 public int getMaximumFractionDigits() { in getMaximumFractionDigits() method in NumberFormat
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DNumberFormatTest.java169 0, format.getMaximumFractionDigits()); in test_getIntegerInstanceLjava_util_Locale()
193 0, format.getMaximumFractionDigits()); in test_getIntegerInstanceLjava_util_Locale()
DDecimalFormatTest.java387 assertEquals(3, form.getMaximumFractionDigits()); in testMaximumFractionDigits_getAndSet()
390 assertEquals(310, form.getMaximumFractionDigits()); in testMaximumFractionDigits_getAndSet()
395 assertEquals(500, form.getMaximumFractionDigits()); in testMaximumFractionDigits_getAndSet()
398 assertEquals(500, form.getMaximumFractionDigits()); in testMaximumFractionDigits_getAndSet()
400 assertEquals(500, form.getMaximumFractionDigits()); in testMaximumFractionDigits_getAndSet()
403 assertEquals(0, form.getMaximumFractionDigits()); in testMaximumFractionDigits_getAndSet()
489 assertEquals(200, form.getMaximumFractionDigits()); in testMinimumFactionDigits_minChangesMax()
507 assertEquals(100, form.getMaximumFractionDigits()); in testMaximumFactionDigits_maxChangesMin()
909 assertEquals("Maximum fraction digits not set", 2, format.getMaximumFractionDigits()); in test_applyPattern()
1039 assertEquals(3, df.getMaximumFractionDigits()); in test_formatDouble_maximumFractionDigits()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/text/
DNumberFormat.java172 public int getMaximumFractionDigits() { in getMaximumFractionDigits() method in NumberFormat
/libcore/ojluni/annotations/sdk/nullability/java/text/
DNumberFormat.annotated.java114 public int getMaximumFractionDigits() { throw new RuntimeException("Stub!"); } in getMaximumFractionDigits() method in NumberFormat