Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/text/
DOldNumberFormatTest.java40 assertEquals(0, format.getMaximumFractionDigits()); in test_getIntegerInstanceLjava_util_Locale()
50 assertEquals(0, format.getMaximumFractionDigits()); in test_getIntegerInstanceLjava_util_Locale()
64 assertEquals(0, format.getMaximumFractionDigits()); in test_getIntegerInstanceLjava_util_Locale()
454 int result = nf1.getMaximumFractionDigits(); in test_getMaximumFractionDigits()
460 result = nf1.getMaximumFractionDigits(); in test_getMaximumFractionDigits()
465 result = nf1.getMaximumFractionDigits(); in test_getMaximumFractionDigits()
658 int result = nf1.getMaximumFractionDigits(); in test_setMaximumFractionDigits()
662 result = nf1.getMaximumFractionDigits(); in test_setMaximumFractionDigits()
668 result = nf1.getMaximumFractionDigits(); in test_setMaximumFractionDigits()
678 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.java516 maximumFractionDigits = icuDecimalFormat.getMaximumFractionDigits(); in updateFieldsFromIcu()
4165 icuDecimalFormat.setMaximumFractionDigits(getMaximumFractionDigits()); in setMaximumFractionDigits()
4229 public int getMaximumFractionDigits() { in getMaximumFractionDigits() method in DecimalFormat
4380 if (oldMinDigits == getMaximumFractionDigits()) { in adjustForCurrencyDefaultFractionDigits()
4440 fields.put("maximumFractionDigits", icuDecimalFormat.getMaximumFractionDigits()); in writeObject()
4604 if (maximumFractionDigits != icuDecimalFormat.getMaximumFractionDigits()) { in readObject()
4623 setMaximumFractionDigits(super.getMaximumFractionDigits()); in readObject()
DNumberFormat.java840 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.java388 assertEquals(3, form.getMaximumFractionDigits()); in testMaximumFractionDigits_getAndSet()
391 assertEquals(310, form.getMaximumFractionDigits()); in testMaximumFractionDigits_getAndSet()
396 assertEquals(500, form.getMaximumFractionDigits()); in testMaximumFractionDigits_getAndSet()
399 assertEquals(500, form.getMaximumFractionDigits()); in testMaximumFractionDigits_getAndSet()
401 assertEquals(500, form.getMaximumFractionDigits()); in testMaximumFractionDigits_getAndSet()
404 assertEquals(0, form.getMaximumFractionDigits()); in testMaximumFractionDigits_getAndSet()
490 assertEquals(200, form.getMaximumFractionDigits()); in testMinimumFactionDigits_minChangesMax()
508 assertEquals(100, form.getMaximumFractionDigits()); in testMaximumFactionDigits_maxChangesMin()
910 assertEquals("Maximum fraction digits not set", 2, format.getMaximumFractionDigits()); in test_applyPattern()
1040 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
/libcore/api/
Dcurrent.txt11275 method public int getMaximumFractionDigits();