Home
last modified time | relevance | path

Searched refs:LENIENT (Results 1 – 21 of 21) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKJapaneseChronology.java891 … JapaneseDate date = JapaneseChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.LENIENT); in test_resolve_ymd_lenient()
974 … JapaneseDate date = JapaneseChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.LENIENT); in test_resolve_yd_lenient()
1023 … {ResolverStyle.LENIENT, JapaneseEra.HEISEI, 1, 1, 1, date(1989, 1, 1)}, // SHOWA, not HEISEI in data_resolve_eymd()
1024 … {ResolverStyle.LENIENT, JapaneseEra.HEISEI, 1, 1, 7, date(1989, 1, 7)}, // SHOWA, not HEISEI in data_resolve_eymd()
1025 {ResolverStyle.LENIENT, JapaneseEra.HEISEI, 1, 1, 8, date(1989, 1, 8)}, in data_resolve_eymd()
1026 {ResolverStyle.LENIENT, JapaneseEra.HEISEI, 1, 12, 31, date(1989, 12, 31)}, in data_resolve_eymd()
1027 {ResolverStyle.LENIENT, JapaneseEra.HEISEI, 2, 1, 1, date(1990, 1, 1)}, in data_resolve_eymd()
1029 {ResolverStyle.LENIENT, JapaneseEra.SHOWA, 64, 1, 1, date(1989, 1, 1)}, in data_resolve_eymd()
1030 {ResolverStyle.LENIENT, JapaneseEra.SHOWA, 64, 1, 7, date(1989, 1, 7)}, in data_resolve_eymd()
1031 … {ResolverStyle.LENIENT, JapaneseEra.SHOWA, 64, 1, 8, date(1989, 1, 8)}, // HEISEI, not SHOWA in data_resolve_eymd()
[all …]
DTCKIsoChronology.java286 {ResolverStyle.LENIENT, -1, null, null, null, null}, in data_resolve_yearOfEra()
290 {ResolverStyle.LENIENT, 0, null, null, ChronoField.ERA, 0}, in data_resolve_yearOfEra()
294 {ResolverStyle.LENIENT, 1, null, null, ChronoField.ERA, 1}, in data_resolve_yearOfEra()
298 {ResolverStyle.LENIENT, 2, null, null, null, null}, in data_resolve_yearOfEra()
303 {ResolverStyle.LENIENT, -1, 2012, null, null, null}, in data_resolve_yearOfEra()
307 {ResolverStyle.LENIENT, 0, 2012, null, ChronoField.YEAR, -2011}, in data_resolve_yearOfEra()
311 {ResolverStyle.LENIENT, 1, 2012, null, ChronoField.YEAR, 2012}, in data_resolve_yearOfEra()
315 {ResolverStyle.LENIENT, 2, 2012, null, null, null}, in data_resolve_yearOfEra()
320 {ResolverStyle.LENIENT, null, 2012, null, ChronoField.YEAR, 2012}, in data_resolve_yearOfEra()
324 … {ResolverStyle.LENIENT, null, Integer.MAX_VALUE, null, ChronoField.YEAR, Integer.MAX_VALUE}, in data_resolve_yearOfEra()
[all …]
DTCKThaiBuddhistChronology.java537 {ResolverStyle.LENIENT, -1, null, null, null, null}, in data_resolve_yearOfEra()
541 {ResolverStyle.LENIENT, 0, null, null, ChronoField.ERA, 0}, in data_resolve_yearOfEra()
545 {ResolverStyle.LENIENT, 1, null, null, ChronoField.ERA, 1}, in data_resolve_yearOfEra()
549 {ResolverStyle.LENIENT, 2, null, null, null, null}, in data_resolve_yearOfEra()
554 {ResolverStyle.LENIENT, -1, 2012, null, null, null}, in data_resolve_yearOfEra()
558 {ResolverStyle.LENIENT, 0, 2012, null, ChronoField.YEAR, -2011}, in data_resolve_yearOfEra()
562 {ResolverStyle.LENIENT, 1, 2012, null, ChronoField.YEAR, 2012}, in data_resolve_yearOfEra()
566 {ResolverStyle.LENIENT, 2, 2012, null, null, null}, in data_resolve_yearOfEra()
571 {ResolverStyle.LENIENT, null, 2012, null, ChronoField.YEAR, 2012}, in data_resolve_yearOfEra()
575 … {ResolverStyle.LENIENT, null, Integer.MAX_VALUE, null, ChronoField.YEAR, Integer.MAX_VALUE}, in data_resolve_yearOfEra()
[all …]
DTCKMinguoChronology.java561 {ResolverStyle.LENIENT, -1, null, null, null, null}, in data_resolve_yearOfEra()
565 {ResolverStyle.LENIENT, 0, null, null, ChronoField.ERA, 0}, in data_resolve_yearOfEra()
569 {ResolverStyle.LENIENT, 1, null, null, ChronoField.ERA, 1}, in data_resolve_yearOfEra()
573 {ResolverStyle.LENIENT, 2, null, null, null, null}, in data_resolve_yearOfEra()
578 {ResolverStyle.LENIENT, -1, 2012, null, null, null}, in data_resolve_yearOfEra()
582 {ResolverStyle.LENIENT, 0, 2012, null, ChronoField.YEAR, -2011}, in data_resolve_yearOfEra()
586 {ResolverStyle.LENIENT, 1, 2012, null, ChronoField.YEAR, 2012}, in data_resolve_yearOfEra()
590 {ResolverStyle.LENIENT, 2, 2012, null, null, null}, in data_resolve_yearOfEra()
595 {ResolverStyle.LENIENT, null, 2012, null, ChronoField.YEAR, 2012}, in data_resolve_yearOfEra()
599 … {ResolverStyle.LENIENT, null, Integer.MAX_VALUE, null, ChronoField.YEAR, Integer.MAX_VALUE}, in data_resolve_yearOfEra()
[all …]
DTCKHijrahChronology.java377 … HijrahDate date = HijrahChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.LENIENT); in test_resolve_ymd_lenient()
382 … HijrahDate date = HijrahChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.LENIENT); in test_resolve_ymd_lenient()
488 HijrahDate date = HijrahChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.LENIENT); in test_resolve_yd_lenient()
/libcore/ojluni/src/test/java/time/tck/java/time/format/
DTCKDateTimeParseResolver.java62 import static java.time.format.ResolverStyle.LENIENT;
564 … {ResolverStyle.LENIENT, 14, 59, 60, 123456789, LocalTime.of(15, 0, 0, 123456789), Period.ZERO}, in data_resolveFourToTime()
568 …{ResolverStyle.LENIENT, 23, 59, 60, 123456789, LocalTime.of(0, 0, 0, 123456789), Period.ofDays(1)}, in data_resolveFourToTime()
572 {ResolverStyle.LENIENT, 24, 0, 0, 0, LocalTime.of(0, 0, 0, 0), Period.ofDays(1)}, in data_resolveFourToTime()
576 {ResolverStyle.LENIENT, 24, 1, 0, 0, LocalTime.of(0, 1, 0, 0), Period.ofDays(1)}, in data_resolveFourToTime()
580 {ResolverStyle.LENIENT, 25, 0, 0, 0, LocalTime.of(1, 0, 0, 0), Period.ofDays(1)}, in data_resolveFourToTime()
584 {ResolverStyle.LENIENT, 49, 2, 3, 4, LocalTime.of(1, 2, 3, 4), Period.ofDays(2)}, in data_resolveFourToTime()
588 {ResolverStyle.LENIENT, -1, 2, 3, 4, LocalTime.of(23, 2, 3, 4), Period.ofDays(-1)}, in data_resolveFourToTime()
592 {ResolverStyle.LENIENT, -6, 2, 3, 4, LocalTime.of(18, 2, 3, 4), Period.ofDays(-1)}, in data_resolveFourToTime()
596 …{ResolverStyle.LENIENT, 25, 61, 61, 1_123456789, LocalTime.of(2, 2, 2, 123456789), Period.ofDays(1… in data_resolveFourToTime()
[all …]
DTCKResolverStyle.java95 {"2000/15/30", ResolverStyle.LENIENT, null, 2001, 3, 30}, in data_resolverStyle()
99 {"2000/15/30 CE", ResolverStyle.LENIENT, null, 2001, 3, 30}, in data_resolverStyle()
/libcore/ojluni/src/main/java/java/time/format/
DParsed.java389 if (resolverStyle == ResolverStyle.LENIENT) { in resolveTimeFields()
399 if (resolverStyle != ResolverStyle.LENIENT) { in resolveTimeFields()
409 if (resolverStyle != ResolverStyle.LENIENT) { in resolveTimeFields()
417 if (resolverStyle != ResolverStyle.LENIENT) { in resolveTimeFields()
425 if (resolverStyle != ResolverStyle.LENIENT) { in resolveTimeFields()
434 if (resolverStyle != ResolverStyle.LENIENT) { in resolveTimeFields()
444 if (resolverStyle != ResolverStyle.LENIENT) { in resolveTimeFields()
449 if (resolverStyle != ResolverStyle.LENIENT) { in resolveTimeFields()
457 if (resolverStyle != ResolverStyle.LENIENT) { in resolveTimeFields()
526 if (resolverStyle != ResolverStyle.LENIENT && fieldValues.size() > 0) { in resolveTimeLenient()
[all …]
DResolverStyle.java114 LENIENT; enumConstant
DDateTimeFormatterBuilder.java336 appendInternal(SettingsParser.LENIENT); in parseLenient()
2323 LENIENT; enumConstant
4275 private static class LENIENT extends CI { class in PrefixTree
4277 private LENIENT(String k, String v, PrefixTree child) { in LENIENT() method in PrefixTree.LENIENT
4283 return new LENIENT(k, v, child); in newNode()
/libcore/ojluni/src/test/java/time/test/java/time/format/
DTestReducedParser.java97 private static final boolean LENIENT = false; field in TestReducedParser
351 {"yyMMdd", "19990703", LENIENT, 0, 8, 1999, 7, 3}, in provider_parseAdjacent()
353 {"yyMMdd", "990703", LENIENT, 0, 6, 2099, 7, 3}, in provider_parseAdjacent()
355 {"yyMMdd", "200703", LENIENT, 0, 6, 2020, 7, 3}, in provider_parseAdjacent()
357 {"ddMMyy", "230714", LENIENT, 0, 6, 2014, 7, 23}, in provider_parseAdjacent()
359 {"ddMMyy", "25062001", LENIENT, 0, 8, 2001, 6, 25}, in provider_parseAdjacent()
361 {"ddMMy", "27052002", LENIENT, 0, 8, 2002, 5, 27}, in provider_parseAdjacent()
502 return new Pair(parseLen, parseVal, LENIENT); in lenient()
DTestNonIsoFormatter.java203 DateTimeFormatter dtfLenient = dtf.withResolverStyle(ResolverStyle.LENIENT); in test_lenientEraYear()
/libcore/ojluni/src/main/java/java/time/chrono/
DAbstractChronology.java501 if (resolverStyle != ResolverStyle.LENIENT) { in resolveProlepticMonth()
518 if (resolverStyle != ResolverStyle.LENIENT) { in resolveYearOfEra()
553 if (resolverStyle == ResolverStyle.LENIENT) { in resolveYMD()
573 if (resolverStyle == ResolverStyle.LENIENT) { in resolveYD()
583 if (resolverStyle == ResolverStyle.LENIENT) { in resolveYMAA()
601 if (resolverStyle == ResolverStyle.LENIENT) { in resolveYMAD()
619 if (resolverStyle == ResolverStyle.LENIENT) { in resolveYAA()
635 if (resolverStyle == ResolverStyle.LENIENT) { in resolveYAD()
DIsoChronology.java499 if (resolverStyle != ResolverStyle.LENIENT) { in resolveProlepticMonth()
511 if (resolverStyle != ResolverStyle.LENIENT) { in resolveYearOfEra()
545 if (resolverStyle == ResolverStyle.LENIENT) { in resolveYMD()
DJapaneseChronology.java475 if (resolverStyle == ResolverStyle.LENIENT) { in resolveYMD()
508 if (resolverStyle == ResolverStyle.LENIENT) { in resolveYD()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKIsoFields.java179 .toFormatter().withResolverStyle(ResolverStyle.LENIENT); in test_parse_quarters_LENIENT()
244 .toFormatter().withResolverStyle(ResolverStyle.LENIENT); in test_parse_parseLenientQuarter_LENIENT()
378 .toFormatter().withResolverStyle(ResolverStyle.LENIENT); in test_parse_weeks_LENIENT()
436 .toFormatter().withResolverStyle(ResolverStyle.LENIENT); in test_parse_parseLenientWeek_LENIENT()
DTCKWeekFields.java59 import static java.time.format.ResolverStyle.LENIENT;
410 .appendValue(DAY_OF_WEEK).toFormatter().withResolverStyle(LENIENT); in test_parse_resolve_localizedWom_lenient()
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()
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()
703 .appendValue(dowField).toFormatter().withResolverStyle(LENIENT); in test_parse_resolve_localizedWoWBYDow_lenient()
DTCKJulianFields.java161 .toFormatter().withResolverStyle(ResolverStyle.LENIENT); in test_samples_parse_LENIENT()
/libcore/ojluni/src/main/java/java/time/temporal/
DJulianFields.java295 if (resolverStyle == ResolverStyle.LENIENT) { in resolve()
DWeekFields.java960 if (resolverStyle == ResolverStyle.LENIENT) { in resolveWoM()
986 if (resolverStyle == ResolverStyle.LENIENT) { in resolveWoY()
1010 if (resolverStyle == ResolverStyle.LENIENT) { in resolveWBY()
DIsoFields.java354 if (resolverStyle == ResolverStyle.LENIENT) { in resolve()
478 if (resolverStyle == ResolverStyle.LENIENT) { in resolve()