Home
last modified time | relevance | path

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

/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatDataDrivenTest.java197 if (tuple.maxFractionDigits != null) {
198 fmt.setMaximumFractionDigits(tuple.maxFractionDigits);
558 if (tuple.maxFractionDigits != null) {
559 fmt.setMaximumFractionDigits(tuple.maxFractionDigits);
665 if (tuple.maxFractionDigits != null) { in propertiesFromTuple()
666 properties.setMaximumFractionDigits(tuple.maxFractionDigits); in propertiesFromTuple()
DDataDrivenNumberFormatTestData.java88 public Integer maxFractionDigits = null; field in DataDrivenNumberFormatTestData
288 maxFractionDigits = Integer.valueOf(value); in setMaxFractionDigits()
DNumberFormatTest.java1155 …private void roundingTest(NumberFormat nf, double x, int maxFractionDigits, final String expected)… in roundingTest() argument
1156 nf.setMaximumFractionDigits(maxFractionDigits); in roundingTest()
1158 logln(x + " formats with " + maxFractionDigits + " fractional digits to " + out); in roundingTest()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/
DNumberFormatDataDrivenTest.java200 if (tuple.maxFractionDigits != null) {
201 fmt.setMaximumFractionDigits(tuple.maxFractionDigits);
561 if (tuple.maxFractionDigits != null) {
562 fmt.setMaximumFractionDigits(tuple.maxFractionDigits);
668 if (tuple.maxFractionDigits != null) { in propertiesFromTuple()
669 properties.setMaximumFractionDigits(tuple.maxFractionDigits); in propertiesFromTuple()
DDataDrivenNumberFormatTestData.java91 public Integer maxFractionDigits = null; field in DataDrivenNumberFormatTestData
291 maxFractionDigits = Integer.valueOf(value); in setMaxFractionDigits()
DNumberFormatTest.java1158 …private void roundingTest(NumberFormat nf, double x, int maxFractionDigits, final String expected)… in roundingTest() argument
1159 nf.setMaximumFractionDigits(maxFractionDigits); in roundingTest()
1161 logln(x + " formats with " + maxFractionDigits + " fractional digits to " + out); in roundingTest()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DNumberFormat.java1138 return maximumIntegerDigits * 37 + maxFractionDigits; in hashCode()
1655 maximumFractionDigits = maxFractionDigits; in readObject()
1688 maxFractionDigits = (maximumFractionDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE : in writeObject()
1770 private byte maxFractionDigits = 3; // invariant, >= minFractionDigits field in NumberFormat
/external/icu/android_icu4j/src/main/java/android/icu/text/
DNumberFormat.java1005 return maximumIntegerDigits * 37 + maxFractionDigits; in hashCode()
1503 maximumFractionDigits = maxFractionDigits; in readObject()
1536 maxFractionDigits = (maximumFractionDigits > Byte.MAX_VALUE) ? Byte.MAX_VALUE : in writeObject()
1618 private byte maxFractionDigits = 3; // invariant, >= minFractionDigits field in NumberFormat
/external/icu/icu4c/source/test/intltest/
Dnumberformattesttuple.h97 int32_t maxFractionDigits; variable
Dnumfmtst.h390 void roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* expected);
Dnumberformattesttuple.cpp301 FIELD_INIT(maxFractionDigits, &gIntOps),
Dnumfmtdatadriventest.cpp81 fmt.setMaximumFractionDigits(tuple.maxFractionDigits); in adjustDecimalFormat()
Dnumfmtst.cpp1406 NumberFormatTest::roundingTest(NumberFormat& nf, double x, int32_t maxFractionDigits, const char* e… in roundingTest() argument
1408 nf.setMaximumFractionDigits(maxFractionDigits); in roundingTest()
1410 …logln((UnicodeString)"" + x + " formats with " + maxFractionDigits + " fractional digits to " + ou… in roundingTest()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/data/
Dnumberformattestspecification.txt54 set maxFractionDigits 5
302 minFractionDigits maxFractionDigits output
322 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks
388 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks
1377 set maxFractionDigits 0
1465 maxFractionDigits format output breaks
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/data/
Dnumberformattestspecification.txt54 set maxFractionDigits 5
302 minFractionDigits maxFractionDigits output
322 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks
388 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks
1377 set maxFractionDigits 0
1465 maxFractionDigits format output breaks
/external/icu/icu4c/source/test/testdata/
Dnumberformattestspecification.txt54 set maxFractionDigits 5
302 minFractionDigits maxFractionDigits output
322 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks
388 minIntegerDigits maxIntegerDigits minFractionDigits maxFractionDigits output breaks
1377 set maxFractionDigits 0
1465 maxFractionDigits format output breaks
/external/icu/icu4c/source/test/cintltst/
Dcnmdptst.c640 static void roundingTest(UNumberFormat* nf, double x, int32_t maxFractionDigits, const char* expect… in roundingTest() argument
648 unum_setAttribute(nf, UNUM_MAX_FRACTION_DIGITS, maxFractionDigits); in roundingTest()
/external/guice/extensions/struts2/lib/
Djsp-api-2.1.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/servlet/ javax/ ...
/external/cldr/tools/java/libs/
Dicu4j.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/ibm/ com/ ...