Home
last modified time | relevance | path

Searched refs:getMinimumFractionDigits (Results 1 – 7 of 7) sorted by relevance

/libcore/luni/src/test/java/libcore/java/text/
DOldNumberFormatTest.java469 int result = nf1.getMinimumFractionDigits(); in test_getMinimumFractionDigits()
475 result = nf1.getMinimumFractionDigits(); in test_getMinimumFractionDigits()
480 result = nf1.getMinimumFractionDigits(); in test_getMinimumFractionDigits()
686 int result = nf1.getMinimumFractionDigits(); in test_setMinimumFractionDigits()
690 result = nf1.getMinimumFractionDigits(); in test_setMinimumFractionDigits()
694 result = nf1.getMinimumFractionDigits(); in test_setMinimumFractionDigits()
704 result = nf1.getMinimumFractionDigits(); in test_setMinimumFractionDigits()
DNumberFormatTest.java218 assertEquals(2, nf.getMinimumFractionDigits()); // Check DecimalFormat has not taken the in test_setCurrency()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormat.java511 minimumFractionDigits = icuDecimalFormat.getMinimumFractionDigits(); in updateFieldsFromIcu()
4004 icuDecimalFormat.setMinimumFractionDigits(getMinimumFractionDigits()); in setMinimumFractionDigits()
4057 public int getMinimumFractionDigits() { in getMinimumFractionDigits() method in DecimalFormat
4192 int oldMinDigits = getMinimumFractionDigits(); in adjustForCurrencyDefaultFractionDigits()
4256 fields.put("minimumFractionDigits", icuDecimalFormat.getMinimumFractionDigits()); in writeObject()
4417 if (minimumFractionDigits != icuDecimalFormat.getMinimumFractionDigits()) { in readObject()
4432 setMinimumFractionDigits(super.getMinimumFractionDigits()); in readObject()
DNumberFormat.java730 public int getMinimumFractionDigits() { in getMinimumFractionDigits() method in NumberFormat
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/
DDecimalFormatTest.java411 assertEquals(0, form.getMinimumFractionDigits()); in testMinimumFractionDigits_getAndSet()
414 assertEquals(310, form.getMinimumFractionDigits()); in testMinimumFractionDigits_getAndSet()
419 assertEquals(500, form.getMinimumFractionDigits()); in testMinimumFractionDigits_getAndSet()
422 assertEquals(400, form.getMinimumFractionDigits()); in testMinimumFractionDigits_getAndSet()
425 assertEquals(0, form.getMinimumFractionDigits()); in testMinimumFractionDigits_getAndSet()
490 assertEquals(200, form.getMinimumFractionDigits()); in testMinimumFactionDigits_minChangesMax()
508 assertEquals(100, form.getMinimumFractionDigits()); in testMaximumFactionDigits_maxChangesMin()
908 assertEquals("Minimum fraction digits not set", 1, format.getMinimumFractionDigits()); in test_applyPattern()
1056 assertEquals(4, df.getMinimumFractionDigits()); in test_formatDouble_minimumFractionDigits()
1059 assertEquals(2, df.getMinimumFractionDigits()); in test_formatDouble_minimumFractionDigits()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/text/
DNumberFormat.java180 public int getMinimumFractionDigits() { in getMinimumFractionDigits() method in NumberFormat
/libcore/ojluni/annotations/sdk/nullability/java/text/
DNumberFormat.annotated.java118 public int getMinimumFractionDigits() { throw new RuntimeException("Stub!"); } in getMinimumFractionDigits() method in NumberFormat