Home
last modified time | relevance | path

Searched refs:SMART (Results 1 – 18 of 18) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DTCKJapaneseChronology.java903 … JapaneseDate date = JapaneseChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.SMART); in test_resolve_ymd_smart()
907 … JapaneseDate date = JapaneseChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.SMART); in test_resolve_ymd_smart()
911 JapaneseChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.SMART); in test_resolve_ymd_smart()
985 … JapaneseDate date = JapaneseChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.SMART); in test_resolve_yd_smart()
990 JapaneseChronology.INSTANCE.resolveDate(fieldValues, ResolverStyle.SMART); in test_resolve_yd_smart()
1076 {ResolverStyle.SMART, JapaneseEra.HEISEI, 0, 1, 1, null}, in data_resolve_eymd()
1077 … {ResolverStyle.SMART, JapaneseEra.HEISEI, 1, 1, 1, date(1989, 1, 1)}, // SHOWA, not HEISEI in data_resolve_eymd()
1078 … {ResolverStyle.SMART, JapaneseEra.HEISEI, 1, 1, 7, date(1989, 1, 7)}, // SHOWA, not HEISEI in data_resolve_eymd()
1079 {ResolverStyle.SMART, JapaneseEra.HEISEI, 1, 1, 8, date(1989, 1, 8)}, in data_resolve_eymd()
1080 {ResolverStyle.SMART, JapaneseEra.HEISEI, 1, 12, 31, date(1989, 12, 31)}, in data_resolve_eymd()
[all …]
DTCKIsoChronology.java285 {ResolverStyle.SMART, -1, null, null, null, null}, in data_resolve_yearOfEra()
289 {ResolverStyle.SMART, 0, null, null, ChronoField.ERA, 0}, in data_resolve_yearOfEra()
293 {ResolverStyle.SMART, 1, null, null, ChronoField.ERA, 1}, in data_resolve_yearOfEra()
297 {ResolverStyle.SMART, 2, null, null, null, null}, in data_resolve_yearOfEra()
302 {ResolverStyle.SMART, -1, 2012, null, null, null}, in data_resolve_yearOfEra()
306 {ResolverStyle.SMART, 0, 2012, null, ChronoField.YEAR, -2011}, in data_resolve_yearOfEra()
310 {ResolverStyle.SMART, 1, 2012, null, ChronoField.YEAR, 2012}, in data_resolve_yearOfEra()
314 {ResolverStyle.SMART, 2, 2012, null, null, null}, in data_resolve_yearOfEra()
319 {ResolverStyle.SMART, null, 2012, null, ChronoField.YEAR, 2012}, in data_resolve_yearOfEra()
323 {ResolverStyle.SMART, null, Integer.MAX_VALUE, null, null, null}, in data_resolve_yearOfEra()
[all …]
DTCKThaiBuddhistChronology.java536 {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 …]
DTCKMinguoChronology.java560 {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 …]
DTCKHijrahChronology.java397 … 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/
DTCKDateTimeParseResolver.java63 import static java.time.format.ResolverStyle.SMART;
563 {ResolverStyle.SMART, 14, 59, 60, 123456789, null, null}, in data_resolveFourToTime()
567 {ResolverStyle.SMART, 23, 59, 60, 123456789, null, null}, in data_resolveFourToTime()
571 {ResolverStyle.SMART, 24, 0, 0, 0, LocalTime.of(0, 0, 0, 0), Period.ofDays(1)}, in data_resolveFourToTime()
575 {ResolverStyle.SMART, 24, 1, 0, 0, null, null}, in data_resolveFourToTime()
579 {ResolverStyle.SMART, 25, 0, 0, 0, null, null}, in data_resolveFourToTime()
583 {ResolverStyle.SMART, 49, 2, 3, 4, null, null}, in data_resolveFourToTime()
587 {ResolverStyle.SMART, -1, 2, 3, 4, null, null}, in data_resolveFourToTime()
591 {ResolverStyle.SMART, -6, 2, 3, 4, null, null}, in data_resolveFourToTime()
595 {ResolverStyle.SMART, 25, 61, 61, 1_123456789, null, null}, in data_resolveFourToTime()
[all …]
DTCKResolverStyle.java96 {"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()
DTCKDateTimeFormatters.java178 …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/
DResolverStyle.java103 SMART, enumConstant
DDateTimeFormatter.java589 .toFormatter(ResolverStyle.SMART, IsoChronology.INSTANCE); in ofLocalizedDate()
617 .toFormatter(ResolverStyle.SMART, IsoChronology.INSTANCE); in ofLocalizedTime()
645 .toFormatter(ResolverStyle.SMART, IsoChronology.INSTANCE); in ofLocalizedDateTime()
675 .toFormatter(ResolverStyle.SMART, IsoChronology.INSTANCE); in ofLocalizedDateTime()
1264 .toFormatter(ResolverStyle.SMART, IsoChronology.INSTANCE);
DParsed.java373 … if (resolverStyle == ResolverStyle.STRICT || (resolverStyle == ResolverStyle.SMART && ch != 0)) { in resolveTimeFields()
381 … if (resolverStyle == ResolverStyle.STRICT || (resolverStyle == ResolverStyle.SMART && ch != 0)) { in resolveTimeFields()
549 … if (resolverStyle == ResolverStyle.SMART && hod == 24 && mohVal == 0 && som == 0 && nosVal == 0) { in resolveTime()
DDateTimeFormatterBuilder.java2057 return toFormatter(locale, ResolverStyle.SMART, null); in toFormatter()
/libcore/ojluni/src/test/java/time/tck/java/time/temporal/
DTCKIsoFields.java168 .toFormatter().withResolverStyle(ResolverStyle.SMART); in test_parse_quarters_SMART()
224 .toFormatter().withResolverStyle(ResolverStyle.SMART); in test_parse_parseLenientQuarter_SMART()
367 .toFormatter().withResolverStyle(ResolverStyle.SMART); in test_parse_weeks_SMART()
416 .toFormatter().withResolverStyle(ResolverStyle.SMART); in test_parse_parseLenientWeek_SMART()
DTCKJulianFields.java153 .toFormatter().withResolverStyle(ResolverStyle.SMART); in test_samples_parse_SMART()
DTCKWeekFields.java60 import static java.time.format.ResolverStyle.SMART;
389 .appendValue(DAY_OF_WEEK).toFormatter().withResolverStyle(SMART); in test_parse_resolve_localizedWom()
/libcore/ojluni/src/main/java/java/time/chrono/
DIsoChronology.java552 if (resolverStyle == ResolverStyle.SMART) { // previous valid in resolveYMD()
DJapaneseChronology.java483 if (resolverStyle == ResolverStyle.SMART) { // previous valid in resolveYMD()
DAbstractChronology.java561 if (resolverStyle == ResolverStyle.SMART) { // previous valid in resolveYMD()