Searched refs:withDecimalStyle (Results 1 – 12 of 12) sorted by relevance
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | AbstractTestPrinterParser.java | 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 …return builder.appendOffset(pattern, noOffsetText).toFormatter(locale).withDecimalStyle(decimalSty… 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 | TestZoneTextPrinterParser.java | 65 .withDecimalStyle(DecimalStyle.of(locale)); in getFormatter() 207 … .withDecimalStyle(DecimalStyle.of(locale)); in test_ParseText() 268 .withDecimalStyle(DecimalStyle.of(locale)); in getFormatter()
|
D | TestNonIsoFormatter.java | 162 .withDecimalStyle(DecimalStyle.of(numberingLocale)); in test_formatLocalizedDate() 172 .withDecimalStyle(DecimalStyle.of(numberingLocale)); in test_parseLocalizedText()
|
D | TestReducedParser.java | 100 …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()
|
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 | TestDateTimeFormatter.java | 105 .withDecimalStyle(DecimalStyle.STANDARD); in test_withLocale_same()
|
D | TestFractionPrinterParser.java | 85 …action(field, minWidth, maxWidth, decimalPoint).toFormatter(locale).withDecimalStyle(decimalStyle); in getFormatter()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeFormatter.java | 137 … 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/ |
D | DateTimeFormatterTest.java | 65 DateTimeFormatter arStyleFormatter = formatter.withDecimalStyle(arDecimalStyle); in test_getDecimalStyle()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | DateTimeFormatter.java | 1434 public DateTimeFormatter withDecimalStyle(DecimalStyle decimalStyle) { in withDecimalStyle() method in DateTimeFormatter
|
/libcore/api/ |
D | current.txt | 11720 … method public java.time.format.DateTimeFormatter withDecimalStyle(java.time.format.DecimalStyle);
|