/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKJapaneseChronology.java | 897 … JapaneseDate date = JapaneseChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.SMART); in test_resolve_ymd_smart() 901 … JapaneseDate date = JapaneseChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.SMART); in test_resolve_ymd_smart() 905 JapaneseChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.SMART); in test_resolve_ymd_smart() 979 … JapaneseDate date = JapaneseChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.SMART); in test_resolve_yd_smart() 984 JapaneseChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.SMART); in test_resolve_yd_smart() 1070 {ResolverStyle.SMART, JapaneseEra.HEISEI, 0, 1, 1, null}, in data_resolve_eymd() 1071 … {ResolverStyle.SMART, JapaneseEra.HEISEI, 1, 1, 1, date(1989, 1, 1)}, // SHOWA, not HEISEI in data_resolve_eymd() 1072 … {ResolverStyle.SMART, JapaneseEra.HEISEI, 1, 1, 7, date(1989, 1, 7)}, // SHOWA, not HEISEI in data_resolve_eymd() 1073 {ResolverStyle.SMART, JapaneseEra.HEISEI, 1, 1, 8, date(1989, 1, 8)}, in data_resolve_eymd() 1074 {ResolverStyle.SMART, JapaneseEra.HEISEI, 1, 12, 31, date(1989, 12, 31)}, in data_resolve_eymd() [all …]
|
D | TCKIsoChronology.java | 293 {ResolverStyle.SMART, -1, null, null, null, null}, in data_resolve_yearOfEra() 297 {ResolverStyle.SMART, 0, null, null, ChronoField.ERA, 0}, in data_resolve_yearOfEra() 301 {ResolverStyle.SMART, 1, null, null, ChronoField.ERA, 1}, in data_resolve_yearOfEra() 305 {ResolverStyle.SMART, 2, null, null, null, null}, in data_resolve_yearOfEra() 310 {ResolverStyle.SMART, -1, 2012, null, null, null}, in data_resolve_yearOfEra() 314 {ResolverStyle.SMART, 0, 2012, null, ChronoField.YEAR, -2011}, in data_resolve_yearOfEra() 318 {ResolverStyle.SMART, 1, 2012, null, ChronoField.YEAR, 2012}, in data_resolve_yearOfEra() 322 {ResolverStyle.SMART, 2, 2012, null, null, null}, in data_resolve_yearOfEra() 327 {ResolverStyle.SMART, null, 2012, null, ChronoField.YEAR, 2012}, in data_resolve_yearOfEra() 331 {ResolverStyle.SMART, null, Integer.MAX_VALUE, null, null, null}, in data_resolve_yearOfEra() [all …]
|
D | TCKThaiBuddhistChronology.java | 536 {ResolverStyle.SMART, -1, null, null, null, null}, in data_resolve_yearOfEra() 540 {ResolverStyle.SMART, 0, null, null, ChronoField.ERA, 0}, in data_resolve_yearOfEra() 544 {ResolverStyle.SMART, 1, null, null, ChronoField.ERA, 1}, in data_resolve_yearOfEra() 548 {ResolverStyle.SMART, 2, null, null, null, null}, in data_resolve_yearOfEra() 553 {ResolverStyle.SMART, -1, 2012, null, null, null}, in data_resolve_yearOfEra() 557 {ResolverStyle.SMART, 0, 2012, null, ChronoField.YEAR, -2011}, in data_resolve_yearOfEra() 561 {ResolverStyle.SMART, 1, 2012, null, ChronoField.YEAR, 2012}, in data_resolve_yearOfEra() 565 {ResolverStyle.SMART, 2, 2012, null, null, null}, in data_resolve_yearOfEra() 570 {ResolverStyle.SMART, null, 2012, null, ChronoField.YEAR, 2012}, in data_resolve_yearOfEra() 574 {ResolverStyle.SMART, null, Integer.MAX_VALUE, null, null, null}, in data_resolve_yearOfEra() [all …]
|
D | TCKMinguoChronology.java | 560 {ResolverStyle.SMART, -1, null, null, null, null}, in data_resolve_yearOfEra() 564 {ResolverStyle.SMART, 0, null, null, ChronoField.ERA, 0}, in data_resolve_yearOfEra() 568 {ResolverStyle.SMART, 1, null, null, ChronoField.ERA, 1}, in data_resolve_yearOfEra() 572 {ResolverStyle.SMART, 2, null, null, null, null}, in data_resolve_yearOfEra() 577 {ResolverStyle.SMART, -1, 2012, null, null, null}, in data_resolve_yearOfEra() 581 {ResolverStyle.SMART, 0, 2012, null, ChronoField.YEAR, -2011}, in data_resolve_yearOfEra() 585 {ResolverStyle.SMART, 1, 2012, null, ChronoField.YEAR, 2012}, in data_resolve_yearOfEra() 589 {ResolverStyle.SMART, 2, 2012, null, null, null}, in data_resolve_yearOfEra() 594 {ResolverStyle.SMART, null, 2012, null, ChronoField.YEAR, 2012}, in data_resolve_yearOfEra() 598 {ResolverStyle.SMART, null, Integer.MAX_VALUE, null, null, null}, in data_resolve_yearOfEra() [all …]
|
D | TCKHijrahChronology.java | 397 … HijrahDate date = HijrahChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.SMART); in test_resolve_ymd_smart() 401 … HijrahDate date = HijrahChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.SMART); in test_resolve_ymd_smart() 405 … HijrahDate date = HijrahChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.SMART); in test_resolve_ymd_smart() 499 … HijrahDate date = HijrahChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.SMART); in test_resolve_yd_smart() 504 … HijrahDate date = HijrahChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.SMART); in test_resolve_yd_smart()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeParseResolver.java | 63 import static java.time.format.ResolverStyle.SMART; 566 {ResolverStyle.SMART, 14, 59, 60, 123456789, null, null}, in data_resolveFourToTime() 570 {ResolverStyle.SMART, 23, 59, 60, 123456789, null, null}, in data_resolveFourToTime() 574 {ResolverStyle.SMART, 24, 0, 0, 0, LocalTime.of(0, 0, 0, 0), Period.ofDays(1)}, in data_resolveFourToTime() 578 {ResolverStyle.SMART, 24, 1, 0, 0, null, null}, in data_resolveFourToTime() 582 {ResolverStyle.SMART, 25, 0, 0, 0, null, null}, in data_resolveFourToTime() 586 {ResolverStyle.SMART, 49, 2, 3, 4, null, null}, in data_resolveFourToTime() 590 {ResolverStyle.SMART, -1, 2, 3, 4, null, null}, in data_resolveFourToTime() 594 {ResolverStyle.SMART, -6, 2, 3, 4, null, null}, in data_resolveFourToTime() 598 {ResolverStyle.SMART, 25, 61, 61, 1_123456789, null, null}, in data_resolveFourToTime() [all …]
|
D | TCKResolverStyle.java | 96 {"2000/02/30", ResolverStyle.SMART, null, 2000, 2, 29}, in data_resolverStyle() 100 {"2000/02/30 CE", ResolverStyle.SMART, null, 2000, 2, 29}, in data_resolverStyle()
|
D | TCKDateTimeFormatters.java | 178 …quals(DateTimeFormatter.ofLocalizedDate(FormatStyle.FULL).getResolverStyle(), ResolverStyle.SMART); in test_ofLocalizedDate_basics() 185 …quals(DateTimeFormatter.ofLocalizedTime(FormatStyle.FULL).getResolverStyle(), ResolverStyle.SMART); in test_ofLocalizedTime_basics() 192 …s(DateTimeFormatter.ofLocalizedDateTime(FormatStyle.FULL).getResolverStyle(), ResolverStyle.SMART); in test_ofLocalizedDateTime1_basics() 199 …ofLocalizedDateTime(FormatStyle.FULL, FormatStyle.MEDIUM).getResolverStyle(), ResolverStyle.SMART); in test_ofLocalizedDateTime2_basics() 1274 assertEquals(DateTimeFormatter.RFC_1123_DATE_TIME.getResolverStyle(), ResolverStyle.SMART); in test_rfc1123_basics()
|
/libcore/ojluni/src/main/java/java/time/format/ |
D | ResolverStyle.java | 103 SMART, enumConstant
|
D | DateTimeFormatter.java | 620 .toFormatter(ResolverStyle.SMART, IsoChronology.INSTANCE); in ofLocalizedDate() 651 .toFormatter(ResolverStyle.SMART, IsoChronology.INSTANCE); in ofLocalizedTime() 682 .toFormatter(ResolverStyle.SMART, IsoChronology.INSTANCE); in ofLocalizedDateTime() 715 .toFormatter(ResolverStyle.SMART, IsoChronology.INSTANCE); in ofLocalizedDateTime() 1313 .toFormatter(ResolverStyle.SMART, IsoChronology.INSTANCE);
|
D | Parsed.java | 388 … if (resolverStyle == ResolverStyle.STRICT || (resolverStyle == ResolverStyle.SMART && ch != 0)) { in resolveTimeFields() 396 … if (resolverStyle == ResolverStyle.STRICT || (resolverStyle == ResolverStyle.SMART && ch != 0)) { in resolveTimeFields() 607 … if (resolverStyle == ResolverStyle.SMART && hod == 24 && mohVal == 0 && som == 0 && nosVal == 0) { in resolveTime()
|
D | DateTimeFormatterBuilder.java | 2307 return toFormatter(locale, ResolverStyle.SMART, null); in toFormatter()
|
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/ |
D | TCKIsoFields.java | 171 .toFormatter().withResolverStyle(ResolverStyle.SMART); in test_parse_quarters_SMART() 227 .toFormatter().withResolverStyle(ResolverStyle.SMART); in test_parse_parseLenientQuarter_SMART() 370 .toFormatter().withResolverStyle(ResolverStyle.SMART); in test_parse_weeks_SMART() 419 .toFormatter().withResolverStyle(ResolverStyle.SMART); in test_parse_parseLenientWeek_SMART()
|
D | TCKJulianFields.java | 153 .toFormatter().withResolverStyle(ResolverStyle.SMART); in test_samples_parse_SMART()
|
D | TCKWeekFields.java | 60 import static java.time.format.ResolverStyle.SMART; 391 .appendValue(DAY_OF_WEEK).toFormatter().withResolverStyle(SMART); in test_parse_resolve_localizedWom()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | IsoChronology.java | 646 if (resolverStyle == ResolverStyle.SMART) { // previous valid in resolveYMD()
|
D | JapaneseChronology.java | 483 if (resolverStyle == ResolverStyle.SMART) { // previous valid in resolveYMD()
|
D | AbstractChronology.java | 531 if (resolverStyle == ResolverStyle.SMART) { // previous valid in resolveYMD()
|
/libcore/api/ |
D | current.txt | 12734 enum_constant public static final java.time.format.ResolverStyle SMART;
|