Searched refs:getFormatter0 (Results 1 – 2 of 2) sorted by relevance
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestReducedPrinter.java | 83 private DateTimeFormatter getFormatter0(TemporalField field, int width, int baseValue) { in getFormatter0() method in TestReducedPrinter 87 …private DateTimeFormatter getFormatter0(TemporalField field, int minWidth, int maxWidth, int baseV… in getFormatter0() method in TestReducedPrinter 98 getFormatter0(YEAR, 2, 2010).formatTo(EMPTY_DTA, buf); in test_print_emptyCalendrical() 104 getFormatter0(YEAR, 2, 2010).formatTo(LocalDate.of(2012, 1, 1), buf); in test_print_append() 181 … getFormatter0(YEAR, minWidth, maxWidth, baseValue).formatTo(new MockFieldValue(YEAR, value), buf); in test_pivot() 249 assertEquals(getFormatter0(YEAR, 2, 2, 2005).toString(), "ReducedValue(Year,2,2,2005)"); in test_toString()
|
D | TestReducedParser.java | 99 private DateTimeFormatter getFormatter0(TemporalField field, int width, int baseValue) { in getFormatter0() method in TestReducedParser 103 …private DateTimeFormatter getFormatter0(TemporalField field, int minWidth, int maxWidth, int baseV… in getFormatter0() method in TestReducedParser 123 getFormatter0(field, width, baseValue).parseUnresolved(text, new ParsePosition(pos)); in test_parse_error() 132 TemporalAccessor parsed = getFormatter0(DAY_OF_YEAR, 3, 10).parseUnresolved("456", pos); in test_parse_fieldRangeIgnored() 189 … TemporalAccessor parsed = getFormatter0(field, width, baseValue).parseUnresolved(input, ppos); in test_parseAllStrict() 203 … TemporalAccessor parsed = getFormatter0(field, width, baseValue).parseUnresolved(input, ppos); in test_parseAllLenient() 276 …TemporalAccessor parsed = getFormatter0(field, minWidth, maxWidth, baseValue).parseUnresolved(inpu… in test_parseStrict() 309 …TemporalAccessor parsed = getFormatter0(field, minWidth, maxWidth, baseValue).parseUnresolved(inpu… in test_parseLenient()
|