Home
last modified time | relevance | path

Searched refs:zeroDigit (Results 1 – 6 of 6) sorted by relevance

/libcore/ojluni/src/main/java/java/time/format/
DDecimalStyle.java100 private final char zeroDigit; field in DecimalStyle
167 char zeroDigit = oldSymbols.getZeroDigit(); in create() local
171 if (zeroDigit == '0' && negativeSign == '-' && decimalSeparator == '.') { in create()
174 return new DecimalStyle(zeroDigit, positiveSign, negativeSign, decimalSeparator); in create()
187 this.zeroDigit = zeroChar; in DecimalStyle()
203 return zeroDigit; in getZeroDigit()
216 public DecimalStyle withZeroDigit(char zeroDigit) { in withZeroDigit() argument
217 if (zeroDigit == this.zeroDigit) { in withZeroDigit()
220 return new DecimalStyle(zeroDigit, positiveSign, negativeSign, decimalSeparator); in withZeroDigit()
249 return new DecimalStyle(zeroDigit, positiveSign, negativeSign, decimalSeparator); in withPositiveSign()
[all …]
/libcore/ojluni/src/main/java/java/text/
DDecimalFormatSymbols.java165 return zeroDigit; in getZeroDigit()
173 public void setZeroDigit(char zeroDigit) { in setZeroDigit() argument
174 this.zeroDigit = zeroDigit; in setZeroDigit()
600 return (zeroDigit == other.zeroDigit && in equals()
623 int result = zeroDigit; in hashCode()
671 values[4] = String.valueOf(localeData.zeroDigit); in initialize()
688 zeroDigit = numberElements[4].charAt(0); //different for Arabic,etc. in initialize()
779 cachedIcuDFS.setZeroDigit(zeroDigit); in getIcuDecimalFormatSymbols()
988 private char zeroDigit; field in DecimalFormatSymbols
DSimpleDateFormat.java540 transient private char zeroDigit; field in SimpleDateFormat
1646 if (zeroDigit == 0) { in zeroPaddingNumber()
1647 zeroDigit = ((DecimalFormat)numberFormat).getDecimalFormatSymbols().getZeroDigit(); in zeroPaddingNumber()
1653 buffer.append(zeroDigit); in zeroPaddingNumber()
1655 buffer.append((char)(zeroDigit + value)); in zeroPaddingNumber()
1657 buffer.append((char)(zeroDigit + value / 10)); in zeroPaddingNumber()
1658 buffer.append((char)(zeroDigit + value % 10)); in zeroPaddingNumber()
1663 buffer.append((char)(zeroDigit + value / 1000)); in zeroPaddingNumber()
1665 buffer.append((char)(zeroDigit + value / 100)); in zeroPaddingNumber()
1667 buffer.append((char)(zeroDigit + value / 10)); in zeroPaddingNumber()
[all …]
/libcore/ojluni/annotations/hiddenapi/java/text/
DDecimalFormatSymbols.java71 public void setZeroDigit(char zeroDigit) { in setZeroDigit() argument
288 private char zeroDigit; field in DecimalFormatSymbols
/libcore/luni/src/test/java/libcore/libcore/icu/
DLocaleDataTest.java255 assertEquals(baseMsg + "zeroDigit", testData.zeroDigit, localeData.zeroDigit); in assertLocaleDataEquals()
307 public char zeroDigit; field in LocaleDataTest.Icu4cLocaleData
/libcore/luni/src/main/java/libcore/icu/
DLocaleData.java155 public char zeroDigit; field in LocaleData
390 zeroDigit = dfs.getZeroDigit(); in initializeDecimalFormatData()