/libcore/ojluni/src/main/java/java/time/chrono/ |
D | ChronoLocalDate.java | 548 return temporal.with(EPOCH_DAY, toEpochDay()); in adjustInto() 669 default long toEpochDay() { in toEpochDay() method 704 int cmp = Long.compare(toEpochDay(), other.toEpochDay()); in compareTo() 726 return this.toEpochDay() > other.toEpochDay(); in isAfter() 744 return this.toEpochDay() < other.toEpochDay(); in isBefore() 762 return this.toEpochDay() == other.toEpochDay(); in isEqual()
|
D | ChronoLocalDateTime.java | 379 .with(EPOCH_DAY, toLocalDate().toEpochDay()) in adjustInto() 465 long epochDay = toLocalDate().toEpochDay(); in toEpochSecond() 525 long thisEpDay = this.toLocalDate().toEpochDay(); in isAfter() 526 long otherEpDay = other.toLocalDate().toEpochDay(); in isAfter() 546 long thisEpDay = this.toLocalDate().toEpochDay(); in isBefore() 547 long otherEpDay = other.toLocalDate().toEpochDay(); in isBefore() 569 this.toLocalDate().toEpochDay() == other.toLocalDate().toEpochDay(); in isEqual()
|
D | HijrahDate.java | 210 return HijrahDate.ofEpochDay(HijrahChronology.INSTANCE, LocalDate.now(clock).toEpochDay()); in now() 369 case EPOCH_DAY: return toEpochDay(); in getLong() 473 public long toEpochDay() { in toEpochDay() method in HijrahDate 494 int dow0 = (int)Math.floorMod(toEpochDay() + 3, 7); in getDayOfWeek() 547 return new HijrahDate(chrono, toEpochDay() + days); in plusDays() 595 days = (int) (end.toEpochDay() - calcDate.toEpochDay()); // safe in until()
|
D | ChronoLocalDateImpl.java | 397 return end.toEpochDay() - toEpochDay(); // no overflow in daysUntil() 423 long epDay = toEpochDay(); in hashCode()
|
D | ThaiBuddhistDate.java | 432 public long toEpochDay() { in toEpochDay() method in ThaiBuddhistDate 433 return isoDate.toEpochDay(); in toEpochDay()
|
D | MinguoDate.java | 432 public long toEpochDay() { in toEpochDay() method in MinguoDate 433 return isoDate.toEpochDay(); in toEpochDay()
|
D | AbstractChronology.java | 134 return Long.compare(date1.toEpochDay(), date2.toEpochDay()); 141 …int cmp = Long.compare(dateTime1.toLocalDate().toEpochDay(), dateTime2.toLocalDate().toEpochDay());
|
D | JapaneseDate.java | 677 public long toEpochDay() { in toEpochDay() method in JapaneseDate 678 return isoDate.toEpochDay(); in toEpochDay()
|
D | ChronoZonedDateTime.java | 546 long epochDay = toLocalDate().toEpochDay(); in toEpochSecond()
|
D | HijrahChronology.java | 924 isoStart = (int) LocalDate.of(ymd[0], ymd[1], ymd[2]).toEpochDay(); in loadCalendarData()
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | CopticDate.java | 214 case DAY_OF_WEEK: return Math.floorMod(toEpochDay() + 3, 7) + 1; in getLong() 219 case EPOCH_DAY: return toEpochDay(); in getLong() 296 return CopticDate.ofEpochDay(Math.addExact(toEpochDay(), days)); in plusDays() 317 days = (int) (end.toEpochDay() - calcDate.toEpochDay()); // safe in until() 329 public long toEpochDay() { in toEpochDay() method in CopticDate 370 long epDay = toEpochDay();
|
D | TCKJapaneseChronology.java | 244 assertEquals(test.toEpochDay(), iso.toEpochDay()); in test_createByEra_epochDay() 312 assertEquals(test.toEpochDay(), iso.toEpochDay()); in test_createByProleptic_epochDay()
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalDate.java | 648 return toEpochDay(); in getLong() 799 int dow0 = (int)Math.floorMod(toEpochDay() + 3, 7); in getDayOfWeek() 1344 long mjDay = Math.addExact(toEpochDay(), daysToAdd); in plusDays() 1614 return end.toEpochDay() - toEpochDay(); // no overflow in daysUntil() 1663 days = (int) (end.toEpochDay() - calcDate.toEpochDay()); // safe in until() 1822 public long toEpochDay() { in toEpochDay() method in LocalDate
|
D | OffsetDateTime.java | 1590 .with(EPOCH_DAY, toLocalDate().toEpochDay()) in adjustInto()
|
D | LocalTime.java | 1506 long epochDay = date.toEpochDay(); in toEpochSecond()
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | HijrahChronologyTest.java | 52 assertEquals(date.toEpochDay(), date.getLong(ChronoField.EPOCH_DAY)); in test_HijrahDate_getLong()
|
D | ThaiBuddhistChronologyTest.java | 122 assertEquals(date.toEpochDay(), date.getLong(ChronoField.EPOCH_DAY)); in test_ThaiBuddhistDate_getLong()
|
D | MinguoChronologyTest.java | 122 assertEquals(date.toEpochDay(), date.getLong(ChronoField.EPOCH_DAY)); in test_MinguoDate_getLong()
|
/libcore/ojluni/src/test/java/time/test/java/time/ |
D | TestLocalDate.java | 412 assertEquals(LocalDate.ofEpochDay(test.toEpochDay()), test); in test_toEpochDay_fromMJDays_symmetry() 417 assertEquals(LocalDate.ofEpochDay(test.toEpochDay()), test); in test_toEpochDay_fromMJDays_symmetry()
|
/libcore/ojluni/src/test/java/time/tck/java/time/ |
D | TCKLocalDate.java | 158 MAX_VALID_EPOCHDAYS = max.toEpochDay(); in setUp() 159 MIN_VALID_EPOCHDAYS = min.toEpochDay(); in setUp() 2104 assertEquals(test.toEpochDay(), i); 2109 assertEquals(test.toEpochDay(), i); 2113 assertEquals(LocalDate.of(1858, 11, 17).toEpochDay(), -40587); 2114 assertEquals(LocalDate.of(1, 1, 1).toEpochDay(), -678575 - 40587); 2115 assertEquals(LocalDate.of(1995, 9, 27).toEpochDay(), 49987 - 40587); 2116 assertEquals(LocalDate.of(1970, 1, 1).toEpochDay(), 0); 2117 assertEquals(LocalDate.of(-1, 12, 31).toEpochDay(), -678942 - 40587);
|
/libcore/ojluni/src/test/java/time/test/java/time/chrono/ |
D | TestUmmAlQuraChronology.java | 117 …assertEquals(hd.toEpochDay(), ld.toEpochDay(), "Umm alQura date and ISO date should have same epoc… in Test_UmmAlQuraVsISODates() 510 assertEquals(date.toEpochDay(), epoch); in test_epochDays()
|