Home
last modified time | relevance | path

Searched refs:withResolverStyle (Results 1 – 8 of 8) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKIsoFields.java157 .toFormatter().withResolverStyle(ResolverStyle.STRICT); in test_parse_quarters()
168 .toFormatter().withResolverStyle(ResolverStyle.SMART); in test_parse_quarters_SMART()
179 .toFormatter().withResolverStyle(ResolverStyle.LENIENT); in test_parse_quarters_LENIENT()
214 .toFormatter().withResolverStyle(ResolverStyle.STRICT); in test_parse_parseLenientQuarter_STRICT()
224 .toFormatter().withResolverStyle(ResolverStyle.SMART); in test_parse_parseLenientQuarter_SMART()
244 .toFormatter().withResolverStyle(ResolverStyle.LENIENT); in test_parse_parseLenientQuarter_LENIENT()
356 .toFormatter().withResolverStyle(ResolverStyle.STRICT); in test_parse_weeks_STRICT()
367 .toFormatter().withResolverStyle(ResolverStyle.SMART); in test_parse_weeks_SMART()
378 .toFormatter().withResolverStyle(ResolverStyle.LENIENT); in test_parse_weeks_LENIENT()
406 .toFormatter().withResolverStyle(ResolverStyle.STRICT); in test_parse_parseLenientWeek_STRICT()
[all …]
DTCKJulianFields.java145 .toFormatter().withResolverStyle(ResolverStyle.STRICT); in test_samples_parse_STRICT()
153 .toFormatter().withResolverStyle(ResolverStyle.SMART); in test_samples_parse_SMART()
161 .toFormatter().withResolverStyle(ResolverStyle.LENIENT); in test_samples_parse_LENIENT()
DTCKWeekFields.java389 .appendValue(DAY_OF_WEEK).toFormatter().withResolverStyle(SMART); in test_parse_resolve_localizedWom()
410 .appendValue(DAY_OF_WEEK).toFormatter().withResolverStyle(LENIENT); in test_parse_resolve_localizedWom_lenient()
431 .appendValue(DAY_OF_WEEK).toFormatter().withResolverStyle(STRICT); in test_parse_resolve_localizedWom_strict()
479 .appendValue(dowField).toFormatter().withResolverStyle(LENIENT); in test_parse_resolve_localizedWomDow_lenient()
523 .appendValue(DAY_OF_WEEK).toFormatter().withResolverStyle(LENIENT); in test_parse_resolve_localizedWoy_lenient()
543 .appendValue(DAY_OF_WEEK).toFormatter().withResolverStyle(STRICT); in test_parse_resolve_localizedWoy_strict()
589 .appendValue(dowField).toFormatter().withResolverStyle(LENIENT); in test_parse_resolve_localizedWoyDow_lenient()
635 .appendValue(DAY_OF_WEEK).toFormatter().withResolverStyle(LENIENT); in test_parse_resolve_localizedWoWBY_lenient()
656 .appendValue(DAY_OF_WEEK).toFormatter().withResolverStyle(STRICT); in test_parse_resolve_localizedWoWBY_strict()
703 .appendValue(dowField).toFormatter().withResolverStyle(LENIENT); in test_parse_resolve_localizedWoWBYDow_lenient()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeParseResolver.java612 TemporalAccessor accessor = f.withResolverStyle(s).parse(""); in test_resolveFourToTime()
618 f.withResolverStyle(style).parse(""); in test_resolveFourToTime()
638 TemporalAccessor accessor = f.withResolverStyle(s).parse(""); in test_resolveThreeToTime()
644 f.withResolverStyle(style).parse(""); in test_resolveThreeToTime()
667 TemporalAccessor accessor = f.withResolverStyle(s).parse(""); in test_resolveFourToDateTime()
705 TemporalAccessor accessor = f.withResolverStyle(style).parse(str); in test_resolveSecondOfDay()
711 f.withResolverStyle(style).parse(str); in test_resolveSecondOfDay()
749 TemporalAccessor accessor = f.withResolverStyle(style).parse(str); in test_resolveMinuteOfDay()
755 f.withResolverStyle(style).parse(str); in test_resolveMinuteOfDay()
793 TemporalAccessor accessor = f.withResolverStyle(style).parse(str); in test_resolveClockHourOfDay()
[all …]
DTCKInstantPrinterParser.java256 TemporalAccessor parsed = f.withResolverStyle(style).parse("1970-02-03T24:00:00Z"); in test_parse_endOfDay()
268 … TemporalAccessor parsed = f.withResolverStyle(style).parse("1970-02-03T23:59:60.123456789Z"); in test_parse_leapSecond()
DTCKResolverStyle.java124 formatter = formatter.withResolverStyle(style); in test_resolverStyle()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestNonIsoFormatter.java203 DateTimeFormatter dtfLenient = dtf.withResolverStyle(ResolverStyle.LENIENT); in test_lenientEraYear()
/libcore/ojluni/src/main/java/java/time/format/
DDateTimeFormatter.java1586 public DateTimeFormatter withResolverStyle(ResolverStyle resolverStyle) { in withResolverStyle() method in DateTimeFormatter