Home
last modified time | relevance | path

Searched refs:baseValue (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestReducedPrinter.java83 private DateTimeFormatter getFormatter0(TemporalField field, int width, int baseValue) { in getFormatter0() argument
84 …return builder.appendValueReduced(field, width, width, baseValue).toFormatter(locale).withDecimalS… in getFormatter0()
87 …e DateTimeFormatter getFormatter0(TemporalField field, int minWidth, int maxWidth, int baseValue) { in getFormatter0() argument
88 …return builder.appendValueReduced(field, minWidth, maxWidth, baseValue).toFormatter(locale).withDe… in getFormatter0()
91 …imeFormatter getFormatterBaseDate(TemporalField field, int minWidth, int maxWidth, int baseValue) { in getFormatterBaseDate() argument
92 …return builder.appendValueReduced(field, minWidth, maxWidth, LocalDate.of(baseValue, 1, 1)).toForm… in getFormatterBaseDate()
179 …public void test_pivot(int minWidth, int maxWidth, int baseValue, int value, String result) throws… in test_pivot() argument
181 … getFormatter0(YEAR, minWidth, maxWidth, baseValue).formatTo(new MockFieldValue(YEAR, value), buf); in test_pivot()
196 …public void test_pivot_baseDate(int minWidth, int maxWidth, int baseValue, int value, String resul… in test_pivot_baseDate() argument
198 …getFormatterBaseDate(YEAR, minWidth, maxWidth, baseValue).formatTo(new MockFieldValue(YEAR, value)… in test_pivot_baseDate()
DTestReducedParser.java99 private DateTimeFormatter getFormatter0(TemporalField field, int width, int baseValue) { in getFormatter0() argument
100 …return builder.appendValueReduced(field, width, width, baseValue).toFormatter(locale).withDecimalS… in getFormatter0()
103 …e DateTimeFormatter getFormatter0(TemporalField field, int minWidth, int maxWidth, int baseValue) { in getFormatter0() argument
104 …return builder.appendValueReduced(field, minWidth, maxWidth, baseValue).toFormatter(locale).withDe… in getFormatter0()
107 …imeFormatter getFormatterBaseDate(TemporalField field, int minWidth, int maxWidth, int baseValue) { in getFormatterBaseDate() argument
108 …return builder.appendValueReduced(field, minWidth, maxWidth, LocalDate.of(baseValue, 1, 1)).toForm… in getFormatterBaseDate()
121 …public void test_parse_error(TemporalField field, int width, int baseValue, String text, int pos, … in test_parse_error() argument
123 getFormatter0(field, width, baseValue).parseUnresolved(text, new ParsePosition(pos)); in test_parse_error()
186 …public void test_parseAllStrict(TemporalField field, int width, int baseValue, String input, int p… in test_parseAllStrict() argument
189 … TemporalAccessor parsed = getFormatter0(field, width, baseValue).parseUnresolved(input, ppos); in test_parseAllStrict()
[all …]