Home
last modified time | relevance | path

Searched refs:maxFractionDigits (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberFormat.java1043 return maximumIntegerDigits * 37 + maxFractionDigits; in hashCode()
1560 maximumFractionDigits = maxFractionDigits; in readObject()
1593 maxFractionDigits = (maximumFractionDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE : in writeObject()
1675 private byte maxFractionDigits = 3; // invariant, >= minFractionDigits field in NumberFormat
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNumberFormat.java969 return maximumIntegerDigits * 37 + maxFractionDigits; in hashCode()
1470 maximumFractionDigits = maxFractionDigits; in readObject()
1503 maxFractionDigits = (maximumFractionDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE : in writeObject()
1585 private byte maxFractionDigits = 3; // invariant, >= minFractionDigits field in NumberFormat
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatTestTuple.java87 public Integer maxFractionDigits = null; field in NumberFormatTestTuple
284 maxFractionDigits = Integer.valueOf(value); in setMaxFractionDigits()
DNumberFormatTest.java180 if (tuple.maxFractionDigits != null) {
181 fmt.setMaximumFractionDigits(tuple.maxFractionDigits);
361 if (tuple.maxFractionDigits != null) {
362 fmt.setMaximumFractionDigits(tuple.maxFractionDigits);
1395 …public void roundingTest(NumberFormat nf, double x, int maxFractionDigits, final String expected) { in roundingTest() argument
1396 nf.setMaximumFractionDigits(maxFractionDigits); in roundingTest()
1398 logln(x + " formats with " + maxFractionDigits + " fractional digits to " + out); in roundingTest()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatTestTuple.java86 public Integer maxFractionDigits = null; field in NumberFormatTestTuple
283 maxFractionDigits = Integer.valueOf(value); in setMaxFractionDigits()
DNumberFormatTest.java176 if (tuple.maxFractionDigits != null) {
177 fmt.setMaximumFractionDigits(tuple.maxFractionDigits);
357 if (tuple.maxFractionDigits != null) {
358 fmt.setMaximumFractionDigits(tuple.maxFractionDigits);
1391 …public void roundingTest(NumberFormat nf, double x, int maxFractionDigits, final String expected) { in roundingTest() argument
1392 nf.setMaximumFractionDigits(maxFractionDigits); in roundingTest()
1394 logln(x + " formats with " + maxFractionDigits + " fractional digits to " + out); in roundingTest()
/external/icu/icu4c/source/test/intltest/
Dnumberformattesttuple.h94 int32_t maxFractionDigits; variable
Dnumfmtst.h320 void roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* expected);
Dnumberformattesttuple.cpp302 FIELD_INIT(maxFractionDigits, &gIntOps),
Dnumfmtst.cpp123 fmt.setMaximumFractionDigits(tuple.maxFractionDigits); in adjustDecimalFormat()
1696 NumberFormatTest::roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* e… in roundingTest() argument
1698 nf.setMaximumFractionDigits(maxFractionDigits); in roundingTest()
1700 …logln((UnicodeString)"" + x + " formats with " + maxFractionDigits + " fractional digits to " + ou… in roundingTest()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/
Dnumberformattestspecification.txt43 set maxFractionDigits 5
215 minFractionDigits maxFractionDigits output
235 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks
289 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks
1104 set maxFractionDigits 0
/external/icu/icu4c/source/test/testdata/
Dnumberformattestspecification.txt43 set maxFractionDigits 5
215 minFractionDigits maxFractionDigits output
235 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks
289 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks
1104 set maxFractionDigits 0
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/
Dnumberformattestspecification.txt43 set maxFractionDigits 5
215 minFractionDigits maxFractionDigits output
235 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks
289 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks
1104 set maxFractionDigits 0
/external/icu/icu4c/source/test/cintltst/
Dcnmdptst.c637 static void roundingTest(UNumberFormat* nf, double x, int32_t maxFractionDigits, const char* expect… in roundingTest() argument
645 unum_setAttribute(nf, UNUM_MAX_FRACTION_DIGITS, maxFractionDigits); in roundingTest()