Home
last modified time | relevance | path

Searched refs:decimalSeparator (Results 1 – 5 of 5) sorted by relevance

/libcore/ojluni/src/main/java/java/time/format/
DDecimalStyle.java112 private final char decimalSeparator; field in DecimalStyle
170 char decimalSeparator = oldSymbols.getDecimalSeparator(); in create() local
171 if (zeroDigit == '0' && negativeSign == '-' && decimalSeparator == '.') { in create()
174 return new DecimalStyle(zeroDigit, positiveSign, negativeSign, decimalSeparator); in create()
190 this.decimalSeparator = decimalPointChar; in DecimalStyle()
220 return new DecimalStyle(zeroDigit, positiveSign, negativeSign, decimalSeparator); in withZeroDigit()
249 return new DecimalStyle(zeroDigit, positiveSign, negativeSign, decimalSeparator); in withPositiveSign()
278 return new DecimalStyle(zeroDigit, positiveSign, negativeSign, decimalSeparator); in withNegativeSign()
291 return decimalSeparator; in getDecimalSeparator()
303 public DecimalStyle withDecimalSeparator(char decimalSeparator) { in withDecimalSeparator() argument
[all …]
/libcore/luni/src/test/java/libcore/icu/
DLocaleDataTest.java104 assertEquals(',', es.decimalSeparator); in testDecimalFormatSymbols_es()
108 assertEquals('.', es_419.decimalSeparator); in testDecimalFormatSymbols_es()
112 assertEquals('.', es_US.decimalSeparator); in testDecimalFormatSymbols_es()
116 assertEquals('.', es_MX.decimalSeparator); in testDecimalFormatSymbols_es()
120 assertEquals(',', es_AR.decimalSeparator); in testDecimalFormatSymbols_es()
/libcore/ojluni/src/main/java/java/text/
DDecimalFormatSymbols.java206 return decimalSeparator; in getDecimalSeparator()
214 public void setDecimalSeparator(char decimalSeparator) { in setDecimalSeparator() argument
215 this.decimalSeparator = decimalSeparator; in setDecimalSeparator()
587 decimalSeparator == other.decimalSeparator && in equals()
610 result = result * 37 + decimalSeparator; in hashCode()
642 values[0] = String.valueOf(localeData.decimalSeparator); in initialize()
660 decimalSeparator = numberElements[0].charAt(0); in initialize()
706 monetarySeparator = decimalSeparator; in initialize()
758 cachedIcuDFS.setDecimalSeparator(decimalSeparator); in getIcuDecimalFormatSymbols()
962 private char decimalSeparator; field in DecimalFormatSymbols
/libcore/ojluni/src/main/java/java/util/
DScanner.java395 private String decimalSeparator = "\\."; field in Scanner
490 decimalSeparator + digit + "*+|"+ decimalSeparator + in buildFloatAndDecimalPattern()
1204 decimalSeparator = "\\" + dfs.getDecimalSeparator(); in useLocale()
1331 sb.append("[decimal separator=" + decimalSeparator + "]"); in toString()
2259 if (!decimalSeparator.equals("\\.")) in processFloatToken()
2260 result = result.replaceAll(decimalSeparator, "."); in processFloatToken()
/libcore/luni/src/main/java/libcore/icu/
DLocaleData.java94 public char decimalSeparator; field in LocaleData