/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | TCKThaiBuddhistChronology.java | 85 import java.time.chrono.ThaiBuddhistChronology; 116 Chronology c = ThaiBuddhistChronology.INSTANCE; in test_chrono_byName() 131 Assert.assertEquals(test, ThaiBuddhistChronology.INSTANCE); in test_chrono_byLocale_fullTag_thaiCalendarFromThai() 138 Assert.assertEquals(test, ThaiBuddhistChronology.INSTANCE); in test_chrono_byLocale_fullTag_thaiCalendarFromElsewhere() 168 {ThaiBuddhistChronology.INSTANCE.date(1 + YDIFF, 1, 1), LocalDate.of(1, 1, 1)}, in data_samples() 169 {ThaiBuddhistChronology.INSTANCE.date(1 + YDIFF, 1, 2), LocalDate.of(1, 1, 2)}, in data_samples() 170 {ThaiBuddhistChronology.INSTANCE.date(1 + YDIFF, 1, 3), LocalDate.of(1, 1, 3)}, in data_samples() 172 {ThaiBuddhistChronology.INSTANCE.date(2 + YDIFF, 1, 1), LocalDate.of(2, 1, 1)}, in data_samples() 173 {ThaiBuddhistChronology.INSTANCE.date(3 + YDIFF, 1, 1), LocalDate.of(3, 1, 1)}, in data_samples() 174 {ThaiBuddhistChronology.INSTANCE.date(3 + YDIFF, 12, 6), LocalDate.of(3, 12, 6)}, in data_samples() [all …]
|
D | TCKChronology.java | 94 import java.time.chrono.ThaiBuddhistChronology; 219 {ThaiBuddhistChronology.INSTANCE, "buddhist"}, in data_CalendarType() 279 assertEquals(chrono.dateNow(), ThaiBuddhistChronology.INSTANCE.dateNow()); in test_ThaiBuddhistChronology_dateNow() 280 … assertEquals(chrono.dateNow(zoneId_paris), ThaiBuddhistChronology.INSTANCE.dateNow(zoneId_paris)); in test_ThaiBuddhistChronology_dateNow() 281 assertEquals(chrono.dateNow(clock), ThaiBuddhistChronology.INSTANCE.dateNow(clock)); in test_ThaiBuddhistChronology_dateNow() 328 … assertEquals(date1, ThaiBuddhistChronology.INSTANCE.dateYearDay(ThaiBuddhistEra.BE, 2459, 60)); in test_ThaiBuddhistChronology_dateYearDay() 329 … assertEquals(date2, ThaiBuddhistChronology.INSTANCE.dateYearDay(ThaiBuddhistEra.BE, 2459, 60)); in test_ThaiBuddhistChronology_dateYearDay() 372 {ThaiBuddhistChronology.INSTANCE, 1873, 9, 7, 1, 2, 2, OFFSET_P0100}, in data_epochSecond() 373 {ThaiBuddhistChronology.INSTANCE, 1928, 2, 28, 1, 2, 2, OFFSET_M0100}, in data_epochSecond() 374 {ThaiBuddhistChronology.INSTANCE, 1989, 1, 8, 1, 2, 2, OFFSET_P0100}, in data_epochSecond() [all …]
|
D | TCKChronoPeriod.java | 79 import java.time.chrono.ThaiBuddhistChronology; 99 {ThaiBuddhistChronology.INSTANCE}}; in data_of_calendars() 176 ChronoPeriod thaiPeriod = ThaiBuddhistChronology.INSTANCE.period(2, 3, 4); in test_plus_wrongChrono() 194 ChronoPeriod thaiPeriod = ThaiBuddhistChronology.INSTANCE.period(2, 3, 4); in test_minus_wrongChrono() 213 ChronoLocalDate thaiDate = ThaiBuddhistChronology.INSTANCE.date(2000, 1, 1); in test_addTo_wrongChrono() 231 ChronoLocalDate thaiDate = ThaiBuddhistChronology.INSTANCE.date(2000, 1, 1); in test_subtractFrom_wrongChrono()
|
D | TCKThaiBuddhistEra.java | 64 import java.time.chrono.ThaiBuddhistChronology; 102 List<Era> eraList = ThaiBuddhistChronology.INSTANCE.eras(); in test_values()
|
D | TCKChronoLocalDate.java | 77 import java.time.chrono.ThaiBuddhistChronology; 110 {ThaiBuddhistChronology.INSTANCE}}; in data_of_calendars()
|
D | TCKChronoLocalDateTime.java | 78 import java.time.chrono.ThaiBuddhistChronology; 110 {ThaiBuddhistChronology.INSTANCE}}; in data_of_calendars()
|
D | TCKChronoZonedDateTime.java | 79 import java.time.chrono.ThaiBuddhistChronology; 111 {ThaiBuddhistChronology.INSTANCE}, in data_of_calendars()
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestChronoLocalDate.java | 67 import java.time.chrono.ThaiBuddhistChronology; 134 Chronology chrono = ThaiBuddhistChronology.INSTANCE; 144 ThaiBuddhistChronology chrono = ThaiBuddhistChronology.INSTANCE; 155 Chronology chrono = ThaiBuddhistChronology.INSTANCE; 168 return (D) ThaiBuddhistChronology.INSTANCE.dateNow(); 187 Chronology chrono = ThaiBuddhistChronology.INSTANCE; 194 Chronology chrono = ThaiBuddhistChronology.INSTANCE;
|
D | TestThaiBuddhistChronoImpl.java | 62 import java.time.chrono.ThaiBuddhistChronology; 100 ThaiBuddhistDate thaiDate = ThaiBuddhistChronology.INSTANCE.date(isoStartDate); in test_ThaiBuddhistChrono_vsCalendar()
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | ThaiBuddhistDateTest.java | 30 import java.time.chrono.ThaiBuddhistChronology; 40 ChronoPeriod period = ThaiBuddhistChronology.INSTANCE.period(1, 1, 1); in minus_thaiBuddhistChronologyPeriod() 49 ChronoPeriod period = ThaiBuddhistChronology.INSTANCE.period(1, -1, -1); in minus_thaiBuddhistChronologyPeriod_withNegative()
|
D | ThaiBuddhistChronologyTest.java | 21 import java.time.chrono.ThaiBuddhistChronology; 68 ThaiBuddhistChronology.INSTANCE.range(field)); in test_range() 74 assertSame(ThaiBuddhistChronology.INSTANCE, ThaiBuddhistDate.now().getChronology()); in test_ThaiBuddhistDate_getChronology()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/serial/ |
D | TCKChronologySerialization.java | 67 import java.time.chrono.ThaiBuddhistChronology; 89 {ThaiBuddhistChronology.INSTANCE}}; in data_of_calendars() 124 {ThaiBuddhistChronology.class}, in invalid_serial_classes()
|
D | TCKChronoLocalDateTimeSerialization.java | 70 import java.time.chrono.ThaiBuddhistChronology; 90 {ThaiBuddhistChronology.INSTANCE}}; in data_of_calendars()
|
D | TCKChronoZonedDateTimeSerialization.java | 68 import java.time.chrono.ThaiBuddhistChronology; 89 {ThaiBuddhistChronology.INSTANCE}, in data_of_calendars()
|
/libcore/ojluni/src/test/java/time/tck/java/time/format/ |
D | TCKDateTimeFormatter.java | 91 import java.time.chrono.ThaiBuddhistChronology; 285 …ChronoZonedDateTime<ThaiBuddhistDate> thaiZdt = ThaiBuddhistChronology.INSTANCE.zonedDateTime(zdt); in data_format_withZone_withChronology() 328 … {ThaiBuddhistChronology.INSTANCE, null, DayOfWeek.MONDAY, null}, // not a complete date in data_format_withZone_withChronology() 329 {ThaiBuddhistChronology.INSTANCE, null, ym, null}, // not a complete date in data_format_withZone_withChronology() 330 {ThaiBuddhistChronology.INSTANCE, null, ld, "2551::::ThaiBuddhist"}, in data_format_withZone_withChronology() 331 {ThaiBuddhistChronology.INSTANCE, null, lt, ":11:::ThaiBuddhist"}, in data_format_withZone_withChronology() 332 {ThaiBuddhistChronology.INSTANCE, null, ldt, "2551:11:::ThaiBuddhist"}, in data_format_withZone_withChronology() 333 {ThaiBuddhistChronology.INSTANCE, null, ot, ":11:+01:00::ThaiBuddhist"}, in data_format_withZone_withChronology() 334 {ThaiBuddhistChronology.INSTANCE, null, odt, "2551:11:+01:00::ThaiBuddhist"}, in data_format_withZone_withChronology() 335 … {ThaiBuddhistChronology.INSTANCE, null, zdt, "2551:11:+02:00:Europe/Paris:ThaiBuddhist"}, in data_format_withZone_withChronology() [all …]
|
D | TCKChronoPrinterParser.java | 68 import java.time.chrono.ThaiBuddhistChronology; 111 {"ThaiBuddhist", ThaiBuddhistChronology.INSTANCE}, in data_parseValid() 115 {"ThaiBuddhistXXX", ThaiBuddhistChronology.INSTANCE}, in data_parseValid()
|
D | TCKDateTimeParseResolver.java | 114 import java.time.chrono.ThaiBuddhistChronology; 926 assertEquals(accessor.query(TemporalQueries.chronology()), ThaiBuddhistChronology.INSTANCE); in test_withChronology_parsedChronology_noOverride() 936 assertEquals(accessor.query(TemporalQueries.chronology()), ThaiBuddhistChronology.INSTANCE); in test_withChronology_parsedChronology_override() 1013 ChronoLocalDate cld = ThaiBuddhistChronology.INSTANCE.dateNow(); in test_fieldResolvesToChronoLocalDate_noOverrideChrono_wrongChrono() 1020 ChronoLocalDate cld = ThaiBuddhistChronology.INSTANCE.dateNow(); in test_fieldResolvesToChronoLocalDate_overrideChrono_wrongChrono() 1050 … ChronoLocalDateTime<?> cldt = ThaiBuddhistChronology.INSTANCE.dateNow().atTime(LocalTime.NOON); in test_fieldResolvesToChronoLocalDateTime_noOverrideChrono_wrongChrono() 1057 … ChronoLocalDateTime<?> cldt = ThaiBuddhistChronology.INSTANCE.dateNow().atTime(LocalTime.NOON); in test_fieldResolvesToChronoLocalDateTime_overrideChrono_wrongChrono() 1090 …ChronoZonedDateTime<?> cldt = ThaiBuddhistChronology.INSTANCE.dateNow().atTime(LocalTime.NOON).atZ… in test_fieldResolvesToChronoZonedDateTime_noOverrideChrono_wrongChrono() 1097 …ChronoZonedDateTime<?> cldt = ThaiBuddhistChronology.INSTANCE.dateNow().atTime(LocalTime.NOON).atZ… in test_fieldResolvesToChronoZonedDateTime_overrideChrono_wrongChrono()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ThaiBuddhistChronology.java | 108 public final class ThaiBuddhistChronology extends AbstractChronology implements Serializable { class 113 public static final ThaiBuddhistChronology INSTANCE = new ThaiBuddhistChronology(); 163 private ThaiBuddhistChronology() { in ThaiBuddhistChronology() method in ThaiBuddhistChronology
|
D | ThaiBuddhistDate.java | 59 import static java.time.chrono.ThaiBuddhistChronology.YEARS_DIFFERENCE; 198 return ThaiBuddhistChronology.INSTANCE.date(temporal); in from() 222 public ThaiBuddhistChronology getChronology() { in getChronology() 223 return ThaiBuddhistChronology.INSTANCE; in getChronology() 509 return ThaiBuddhistChronology.INSTANCE.date(year, month, dayOfMonth); in readExternal()
|
D | ThaiBuddhistEra.java | 172 .withChronology(ThaiBuddhistChronology.INSTANCE) in getDisplayName()
|
/libcore/ojluni/src/test/java/time/test/java/time/format/ |
D | TestDateTimeFormatter.java | 83 import java.time.chrono.ThaiBuddhistChronology; 130 assertGoodErrorDate(ThaiBuddhistChronology.INSTANCE::date, ""); in test_parse_errorMessage() 146 assertGoodErrorTime(ThaiBuddhistChronology.INSTANCE::date, ""); in test_parse_errorMessage() 236 Chronology chrono = ThaiBuddhistChronology.INSTANCE; in test_throws_message_chrono()
|
D | TestNonIsoFormatter.java | 47 import java.time.chrono.ThaiBuddhistChronology; 75 private static final Chronology BUDDHIST = ThaiBuddhistChronology.INSTANCE;
|
D | TestReducedParser.java | 80 import java.time.chrono.ThaiBuddhistChronology; 405 {ThaiBuddhistChronology.INSTANCE.date(baseYear)}, in provider_reducedWithChrono() 406 {ThaiBuddhistChronology.INSTANCE.date(baseYear).plus(1, YEARS)}, in provider_reducedWithChrono() 407 {ThaiBuddhistChronology.INSTANCE.date(baseYear).plus(99, YEARS)}, in provider_reducedWithChrono()
|
D | TestDateTimeFormatterBuilderWithLocale.java | 74 import java.time.chrono.ThaiBuddhistChronology; 133 {ThaiBuddhistChronology.INSTANCE.date(1, 1, 1), Locale.ENGLISH}, in data_mapTextLookup()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKPeriod.java | 71 import java.time.chrono.ThaiBuddhistChronology; 249 Period.from(ThaiBuddhistChronology.INSTANCE.period(1, 1, 1)); in factory_from_TemporalAmount_NonISO() 640 pymd(4, 5, 6).plus(ThaiBuddhistChronology.INSTANCE.period(1, 0, 0)); in test_plus_TemporalAmount_nonISO() 785 pymd(4, 5, 6).minus(ThaiBuddhistChronology.INSTANCE.period(1, 0, 0)); in test_minus_TemporalAmount_nonISO()
|