Searched refs:epoch (Results 1 – 2 of 2) sorted by relevance
312 Date epoch = new Date(0); in testTimeZoneFormatting() local321 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()
508 public void test_epochDays(int y, long epoch) { in test_epochDays() argument510 assertEquals(date.toEpochDay(), epoch); in test_epochDays() local