Searched refs:decimalStyle (Results 1 – 5 of 5) sorted by relevance
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | AbstractTestPrinterParser.java | 88 protected DecimalStyle decimalStyle; field in AbstractTestPrinterParser 97 decimalStyle = DecimalStyle.STANDARD; in setUp() 117 return builder.toFormatter(locale).withDecimalStyle(decimalStyle); in getFormatter() 121 return builder.appendLiteral(c).toFormatter(locale).withDecimalStyle(decimalStyle); in getFormatter() 125 return builder.appendLiteral(s).toFormatter(locale).withDecimalStyle(decimalStyle); in getFormatter() 129 return builder.appendText(field).toFormatter(locale).withDecimalStyle(decimalStyle); in getFormatter() 133 return builder.appendText(field, style).toFormatter(locale).withDecimalStyle(decimalStyle); in getFormatter() 137 …pendValue(field, minWidth, maxWidth, signStyle).toFormatter(locale).withDecimalStyle(decimalStyle); in getFormatter() 141 …urn builder.appendOffset(pattern, noOffsetText).toFormatter(locale).withDecimalStyle(decimalStyle); in getFormatter() 145 return builder.appendPattern(pattern).toFormatter(locale).withDecimalStyle(decimalStyle); in getPatternFormatter()
|
D | TestReducedPrinter.java | 84 …endValueReduced(field, width, width, baseValue).toFormatter(locale).withDecimalStyle(decimalStyle); in getFormatter0() 88 …ueReduced(field, minWidth, maxWidth, baseValue).toFormatter(locale).withDecimalStyle(decimalStyle); in getFormatter0() 92 …Width, maxWidth, LocalDate.of(baseValue, 1, 1)).toFormatter(locale).withDecimalStyle(decimalStyle); in getFormatterBaseDate()
|
D | TestNumberParser.java | 172 …ilder.appendValue(DAY_OF_YEAR, subsequentWidth).toFormatter(locale).withDecimalStyle(decimalStyle); in test_parse_fresh() 192 …ilder.appendValue(DAY_OF_YEAR, subsequentWidth).toFormatter(locale).withDecimalStyle(decimalStyle); in test_parse_textField() 547 .appendValue(DAY_OF_MONTH, 2).toFormatter(locale).withDecimalStyle(decimalStyle); in test_parseDigitsAdjacentLenient()
|
D | TestFractionPrinterParser.java | 85 …action(field, minWidth, maxWidth, decimalPoint).toFormatter(locale).withDecimalStyle(decimalStyle); in getFormatter()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatter.java | 496 private final DecimalStyle decimalStyle; field in DateTimeFormatter 1373 Locale locale, DecimalStyle decimalStyle, in DateTimeFormatter() argument 1379 this.decimalStyle = Objects.requireNonNull(decimalStyle, "decimalStyle"); in DateTimeFormatter() 1413 …return new DateTimeFormatter(printerParser, locale, decimalStyle, resolverStyle, resolverFields, c… in withLocale() 1423 return decimalStyle; in getDecimalStyle() 1434 public DateTimeFormatter withDecimalStyle(DecimalStyle decimalStyle) { in withDecimalStyle() argument 1435 if (this.decimalStyle.equals(decimalStyle)) { in withDecimalStyle() 1438 …return new DateTimeFormatter(printerParser, locale, decimalStyle, resolverStyle, resolverFields, c… in withDecimalStyle() 1492 …return new DateTimeFormatter(printerParser, locale, decimalStyle, resolverStyle, resolverFields, c… in withChronology() 1549 …return new DateTimeFormatter(printerParser, locale, decimalStyle, resolverStyle, resolverFields, c… in withZone() [all …]
|