Home
last modified time | relevance | path

Searched refs:withDecimalStyle (Results 1 – 12 of 12) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/format/
DAbstractTestPrinterParser.java117 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 …return builder.appendOffset(pattern, noOffsetText).toFormatter(locale).withDecimalStyle(decimalSty… in getFormatter()
145 return builder.appendPattern(pattern).toFormatter(locale).withDecimalStyle(decimalStyle); in getPatternFormatter()
DTestReducedPrinter.java84 …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()
DTestZoneTextPrinterParser.java65 .withDecimalStyle(DecimalStyle.of(locale)); in getFormatter()
207 … .withDecimalStyle(DecimalStyle.of(locale)); in test_ParseText()
268 .withDecimalStyle(DecimalStyle.of(locale)); in getFormatter()
DTestNonIsoFormatter.java162 .withDecimalStyle(DecimalStyle.of(numberingLocale)); in test_formatLocalizedDate()
172 .withDecimalStyle(DecimalStyle.of(numberingLocale)); in test_parseLocalizedText()
DTestReducedParser.java100 …endValueReduced(field, width, width, baseValue).toFormatter(locale).withDecimalStyle(decimalStyle); in getFormatter0()
104 …ueReduced(field, minWidth, maxWidth, baseValue).toFormatter(locale).withDecimalStyle(decimalStyle); in getFormatter0()
108 …Width, maxWidth, LocalDate.of(baseValue, 1, 1)).toFormatter(locale).withDecimalStyle(decimalStyle); in getFormatterBaseDate()
DTestNumberParser.java172 …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()
DTestDateTimeFormatter.java105 .withDecimalStyle(DecimalStyle.STANDARD); in test_withLocale_same()
DTestFractionPrinterParser.java85 …action(field, minWidth, maxWidth, decimalPoint).toFormatter(locale).withDecimalStyle(decimalStyle); in getFormatter()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeFormatter.java137 … DateTimeFormatter base = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_withLocale()
144 … DateTimeFormatter base = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_withLocale_null()
403 … DateTimeFormatter test = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_format_TemporalAccessor_simple()
410 … DateTimeFormatter test = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_format_TemporalAccessor_noSuchField()
416 … DateTimeFormatter test = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_format_TemporalAccessor_null()
423 … DateTimeFormatter test = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_print_TemporalAppendable()
431 … DateTimeFormatter test = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_print_TemporalAppendable_noSuchField()
438 … DateTimeFormatter test = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_print_TemporalAppendable_nullTemporal()
445 … DateTimeFormatter test = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_print_TemporalAppendable_nullAppendable()
454 … DateTimeFormatter test = fmt.withLocale(Locale.ENGLISH).withDecimalStyle(DecimalStyle.STANDARD); in test_parse_CharSequence()
[all …]
/libcore/luni/src/test/java/libcore/java/time/format/
DDateTimeFormatterTest.java65 DateTimeFormatter arStyleFormatter = formatter.withDecimalStyle(arDecimalStyle); in test_getDecimalStyle()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatter.java1434 public DateTimeFormatter withDecimalStyle(DecimalStyle decimalStyle) { in withDecimalStyle() method in DateTimeFormatter
/libcore/api/
Dcurrent.txt11720 … method public java.time.format.DateTimeFormatter withDecimalStyle(java.time.format.DecimalStyle);