Home
last modified time | relevance | path

Searched refs:epoch (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/libcore/java/time/chrono/
DJapaneseChronologyTest.java152 JapaneseDate epoch = JapaneseChronology.INSTANCE.dateEpochDay(0); in dateEpochDay() local
156 assertEquals(JapaneseDate.of(SHOWA, 45, 1, 1), epoch); in dateEpochDay() local
/libcore/luni/src/test/java/libcore/java/text/
DSimpleDateFormatTest.java313 Date epoch = new Date(0); in testTimeZoneFormatting() local
322 assertEquals("1969-12-31 18:00:00 -0600", sdf.format(epoch)); in testTimeZoneFormatting()
325 assertEquals("1969-12-31 16:00:00 -0800", sdf.format(epoch)); in testTimeZoneFormatting()
327 assertEquals("1970-01-01 00:00:00 +0000", sdf.format(epoch)); in testTimeZoneFormatting()
338 assertEquals("1969-12-31 18:00:00 -0600", sdf.format(epoch)); in testTimeZoneFormatting()
341 assertEquals("1969-12-31 16:00:00 -0800", sdf.format(epoch)); in testTimeZoneFormatting()
343 assertEquals("1970-01-01 00:00:00 +0000", sdf.format(epoch)); in testTimeZoneFormatting()
/libcore/ojluni/src/test/java/time/test/java/time/chrono/
DTestUmmAlQuraChronology.java508 public void test_epochDays(int y, long epoch) { in test_epochDays() argument
510 assertEquals(date.toEpochDay(), epoch); in test_epochDays() local