Home
last modified time | relevance | path

Searched refs:ofEpochDay (Results 1 – 15 of 15) sorted by relevance

/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DCopticChronology.java184 return CopticDate.ofEpochDay(epochDay); in dateEpochDay()
192 return CopticDate.ofEpochDay(dateTime.getLong(EPOCH_DAY)); in date()
DCopticDate.java122 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/
DTemporalQueries.java383 return LocalDate.ofEpochDay(temporal.getLong(EPOCH_DAY));
/libcore/ojluni/src/main/java/java/time/
DLocalDate.java222 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()
DLocalDateTime.java416 LocalDate date = LocalDate.ofEpochDay(localEpochDay); in ofEpochSecond()
/libcore/ojluni/src/main/java/java/time/chrono/
DHijrahDate.java159 static HijrahDate ofEpochDay(HijrahChronology chrono, long epochDay) { in ofEpochDay() method in HijrahDate
210 return HijrahDate.ofEpochDay(HijrahChronology.INSTANCE, LocalDate.now(clock).toEpochDay()); in now()
DMinguoChronology.java234 return new MinguoDate(LocalDate.ofEpochDay(epochDay)); in dateEpochDay()
DThaiBuddhistChronology.java270 return new ThaiBuddhistDate(LocalDate.ofEpochDay(epochDay)); in dateEpochDay()
DHijrahChronology.java500 return HijrahDate.ofEpochDay(this, epochDay); in dateEpochDay()
523 return HijrahDate.ofEpochDay(this, temporal.getLong(EPOCH_DAY)); in date()
DIsoChronology.java248 return LocalDate.ofEpochDay(epochDay); in dateEpochDay()
DJapaneseChronology.java290 return new JapaneseDate(LocalDate.ofEpochDay(epochDay)); in dateEpochDay()
/libcore/ojluni/src/test/java/time/test/java/time/
DTestLocalDate.java412 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/
DTCKLocalDate.java487 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/
DZoneRules.java928 return LocalDate.ofEpochDay(localEpochDay).getYear(); in findYear()
/libcore/api/
Dcurrent.txt10741 method public static java.time.LocalDate ofEpochDay(long);