Home
last modified time | relevance | path

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

/libcore/luni/src/test/java/libcore/java/text/
DSimpleDateFormatTest.java312 Date epoch = new Date(0); in testTimeZoneFormatting() local
321 assertEquals("1969-12-31 18:00:00 -0600", sdf.format(epoch)); in testTimeZoneFormatting()
324 assertEquals("1969-12-31 16:00:00 -0800", sdf.format(epoch)); in testTimeZoneFormatting()
326 assertEquals("1970-01-01 00:00:00 +0000", sdf.format(epoch)); in testTimeZoneFormatting()
337 assertEquals("1969-12-31 18:00:00 -0600", sdf.format(epoch)); in testTimeZoneFormatting()
340 assertEquals("1969-12-31 16:00:00 -0800", sdf.format(epoch)); in testTimeZoneFormatting()
342 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