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
172 char zeroDigit = oldSymbols.getZeroDigit(); in create() local
176 if (zeroDigit == '0' && negativeSign == '-' && decimalSeparator == '.') { in create()
179 return new DecimalStyle(zeroDigit, positiveSign, negativeSign, decimalSeparator); in create()
192 this.zeroDigit = zeroChar; in DecimalStyle()
208 return zeroDigit; in getZeroDigit()
220 public DecimalStyle withZeroDigit(char zeroDigit) { in withZeroDigit() argument
221 if (zeroDigit == this.zeroDigit) { in withZeroDigit()
224 return new DecimalStyle(zeroDigit, positiveSign, negativeSign, decimalSeparator); in withZeroDigit()
253 return new DecimalStyle(zeroDigit, positiveSign, negativeSign, decimalSeparator); in withPositiveSign()
[all …]
/libcore/ojluni/src/main/java/java/text/
DDecimalFormatSymbols.java176 return zeroDigit; in getZeroDigit()
184 public void setZeroDigit(char zeroDigit) { in setZeroDigit() argument
186 this.zeroDigit = zeroDigit; in setZeroDigit()
769 return (zeroDigit == other.zeroDigit && in equals()
798 zeroDigit, in hashCode()
875 zeroDigit = numberElements[4].charAt(0); //different for Arabic,etc. in initialize()
1025 cachedIcuDFS.setZeroDigit(zeroDigit);
1288 private char zeroDigit;
DSimpleDateFormat.java559 private transient char zeroDigit; field in SimpleDateFormat
1677 if (zeroDigit == 0) { in zeroPaddingNumber()
1678 zeroDigit = ((DecimalFormat)numberFormat).getDecimalFormatSymbols().getZeroDigit(); in zeroPaddingNumber()
1684 buffer.append(zeroDigit); in zeroPaddingNumber()
1686 buffer.append((char)(zeroDigit + value)); in zeroPaddingNumber()
1688 buffer.append((char)(zeroDigit + value / 10)); in zeroPaddingNumber()
1689 buffer.append((char)(zeroDigit + value % 10)); in zeroPaddingNumber()
1694 buffer.append((char)(zeroDigit + value / 1000)); in zeroPaddingNumber()
1696 buffer.append((char)(zeroDigit + value / 100)); in zeroPaddingNumber()
1698 buffer.append((char)(zeroDigit + value / 10)); in zeroPaddingNumber()
[all …]
/libcore/luni/src/main/java/libcore/icu/
DDecimalFormatData.java41 private final char zeroDigit; field in DecimalFormatData
71 zeroDigit = dfs.getZeroDigit(); in DecimalFormatData()
127 return zeroDigit; in getZeroDigit()
DLocaleData.java129 public char zeroDigit; // '0' field in LocaleData
141 zeroDigit = '0'; in LocaleData()
/libcore/ojluni/annotations/hiddenapi/java/text/
DDecimalFormatSymbols.java71 public void setZeroDigit(char zeroDigit) { in setZeroDigit() argument
288 private char zeroDigit; field in DecimalFormatSymbols