Home
last modified time | relevance | path

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

/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeFormatterBuilder.java198 builder.appendValueReduced(null, 2, 2, 2000); in test_appendValueReduced_int_nullField()
203 builder.appendValueReduced(YEAR, 0, 2, 2000); in test_appendValueReduced_int_minWidthTooSmall()
208 builder.appendValueReduced(YEAR, 11, 2, 2000); in test_appendValueReduced_int_minWidthTooBig()
213 builder.appendValueReduced(YEAR, 2, 0, 2000); in test_appendValueReduced_int_maxWidthTooSmall()
218 builder.appendValueReduced(YEAR, 2, 11, 2000); in test_appendValueReduced_int_maxWidthTooBig()
223 builder.appendValueReduced(YEAR, 2, 1, 2000); in test_appendValueReduced_int_maxWidthLessThanMin()
229 builder.appendValueReduced(null, 2, 2, LocalDate.of(2000, 1, 1)); in test_appendValueReduced_date_nullField()
234 builder.appendValueReduced(YEAR, 2, 2, null); in test_appendValueReduced_date_nullDate()
239 builder.appendValueReduced(YEAR, 0, 2, LocalDate.of(2000, 1, 1)); in test_appendValueReduced_date_minWidthTooSmall()
244 builder.appendValueReduced(YEAR, 11, 2, LocalDate.of(2000, 1, 1)); in test_appendValueReduced_date_minWidthTooBig()
[all …]
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestReducedPrinter.java84 …return builder.appendValueReduced(field, width, width, baseValue).toFormatter(locale).withDecimalS… in getFormatter0()
88 …return builder.appendValueReduced(field, minWidth, maxWidth, baseValue).toFormatter(locale).withDe… in getFormatter0()
92 …return builder.appendValueReduced(field, minWidth, maxWidth, LocalDate.of(baseValue, 1, 1)).toForm… in getFormatterBaseDate()
DTestReducedParser.java100 …return builder.appendValueReduced(field, width, width, baseValue).toFormatter(locale).withDecimalS… in getFormatter0()
104 …return builder.appendValueReduced(field, minWidth, maxWidth, baseValue).toFormatter(locale).withDe… in getFormatter0()
108 …return builder.appendValueReduced(field, minWidth, maxWidth, LocalDate.of(baseValue, 1, 1)).toForm… in getFormatterBaseDate()
415 … = new DateTimeFormatterBuilder().appendValueReduced(YEAR, 2, 2, LocalDate.of(2000, 1, 1)) in test_reducedWithChronoYear()
433 … = new DateTimeFormatterBuilder().appendValueReduced(YEAR_OF_ERA, 2, 2, LocalDate.of(2000, 1, 1)) in test_reducedWithChronoYearOfEra()
453 .appendValueReduced(YEAR, 2, 2, LocalDate.of(2000, 1, 1)) in test_reducedWithLateChronoChange()
475 .appendValueReduced(YEAR, 2, 2, LocalDate.of(2000, 1, 1)) in test_reducedWithLateChronoChangeTwice()
DTestDateTimeFormatterBuilder.java270 builder.appendValueReduced(null, 2, 2, 2000); in test_appendValueReduced_null()
275 builder.appendValueReduced(YEAR, 2, 2, 2000); in test_appendValueReduced()
284 … builder.appendValue(MONTH_OF_YEAR, 1, 2, SignStyle.NORMAL).appendValueReduced(YEAR, 2, 2, 2000); in test_appendValueReduced_subsequent_parse()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatterBuilder.java549 public DateTimeFormatterBuilder appendValueReduced(TemporalField field, in appendValueReduced() method in DateTimeFormatterBuilder
609 public DateTimeFormatterBuilder appendValueReduced( in appendValueReduced() method in DateTimeFormatterBuilder
1719 appendValueReduced(field, 2, 2, ReducedPrinterParser.BASE_DATE); in parseField()