Searched refs:ofEpochDay (Results 1 – 15 of 15) sorted by relevance
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | CopticChronology.java | 184 return CopticDate.ofEpochDay(epochDay); in dateEpochDay() 192 return CopticDate.ofEpochDay(dateTime.getLong(EPOCH_DAY)); in date()
|
D | CopticDate.java | 122 static CopticDate ofEpochDay(long epochDay) { in ofEpochDay() method in CopticDate 244 case EPOCH_DAY: return ofEpochDay(nvalue); in with() 296 return CopticDate.ofEpochDay(Math.addExact(toEpochDay(), days)); in plusDays()
|
/libcore/ojluni/src/main/java/java/time/temporal/ |
D | TemporalQueries.java | 383 return LocalDate.ofEpochDay(temporal.getLong(EPOCH_DAY));
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalDate.java | 222 return LocalDate.ofEpochDay(epochDay); in now() 307 public static LocalDate ofEpochDay(long epochDay) { in ofEpochDay() method in LocalDate 1024 case EPOCH_DAY: return LocalDate.ofEpochDay(newValue); in with() 1345 return LocalDate.ofEpochDay(mjDay); in plusDays()
|
D | LocalDateTime.java | 416 LocalDate date = LocalDate.ofEpochDay(localEpochDay); in ofEpochSecond()
|
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | HijrahDate.java | 159 static HijrahDate ofEpochDay(HijrahChronology chrono, long epochDay) { in ofEpochDay() method in HijrahDate 210 return HijrahDate.ofEpochDay(HijrahChronology.INSTANCE, LocalDate.now(clock).toEpochDay()); in now()
|
D | MinguoChronology.java | 234 return new MinguoDate(LocalDate.ofEpochDay(epochDay)); in dateEpochDay()
|
D | ThaiBuddhistChronology.java | 270 return new ThaiBuddhistDate(LocalDate.ofEpochDay(epochDay)); in dateEpochDay()
|
D | HijrahChronology.java | 500 return HijrahDate.ofEpochDay(this, epochDay); in dateEpochDay() 523 return HijrahDate.ofEpochDay(this, temporal.getLong(EPOCH_DAY)); in date()
|
D | IsoChronology.java | 248 return LocalDate.ofEpochDay(epochDay); in dateEpochDay()
|
D | JapaneseChronology.java | 290 return new JapaneseDate(LocalDate.ofEpochDay(epochDay)); in dateEpochDay()
|
/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 | 487 assertEquals(LocalDate.ofEpochDay(0), LocalDate.of(1970, 1, 1)); 488 assertEquals(LocalDate.ofEpochDay(date_0000_01_01), LocalDate.of(0, 1, 1)); 489 assertEquals(LocalDate.ofEpochDay(date_0000_01_01 - 1), LocalDate.of(-1, 12, 31)); 490 … assertEquals(LocalDate.ofEpochDay(MAX_VALID_EPOCHDAYS), LocalDate.of(Year.MAX_VALUE, 12, 31)); 491 assertEquals(LocalDate.ofEpochDay(MIN_VALID_EPOCHDAYS), LocalDate.of(Year.MIN_VALUE, 1, 1)); 495 assertEquals(LocalDate.ofEpochDay(i), test); 500 assertEquals(LocalDate.ofEpochDay(i), test); 507 LocalDate.ofEpochDay(MAX_VALID_EPOCHDAYS + 1); 512 LocalDate.ofEpochDay(MIN_VALID_EPOCHDAYS - 1);
|
/libcore/ojluni/src/main/java/java/time/zone/ |
D | ZoneRules.java | 928 return LocalDate.ofEpochDay(localEpochDay).getYear(); in findYear()
|
/libcore/api/ |
D | current.txt | 10741 method public static java.time.LocalDate ofEpochDay(long);
|