Searched refs:epochDay (Results 1 – 14 of 14) sorted by relevance
/libcore/ojluni/src/main/java/java/time/chrono/ |
D | HijrahChronology.java | 499 public HijrahDate dateEpochDay(long epochDay) { in dateEpochDay() argument 500 return HijrahDate.ofEpochDay(this, epochDay); in dateEpochDay() 642 int[] getHijrahDateInfo(int epochDay) { in getHijrahDateInfo() argument 644 if (epochDay < minEpochDay || epochDay >= maxEpochDay) { in getHijrahDateInfo() 648 int epochMonth = epochDayToEpochMonth(epochDay); in getHijrahDateInfo() 652 int date = epochDay - day1; // epochDay - dayOfEpoch(year, month); in getHijrahDateInfo() 783 private int epochDayToEpochMonth(int epochDay) { in epochDayToEpochMonth() argument 785 int ndx = Arrays.binarySearch(hijrahEpochMonthStartDays, epochDay); in epochDayToEpochMonth() 985 …private int[] createEpochMonths(int epochDay, int minYear, int maxYear, Map<Integer, int[]> years)… in createEpochMonths() argument 1000 epochMonths[epochMonth++] = epochDay; in createEpochMonths() [all …]
|
D | HijrahDate.java | 159 static HijrahDate ofEpochDay(HijrahChronology chrono, long epochDay) { in ofEpochDay() argument 160 return new HijrahDate(chrono, epochDay); in ofEpochDay() 277 private HijrahDate(HijrahChronology chrono, long epochDay) { in HijrahDate() argument 278 int[] dateInfo = chrono.getHijrahDateInfo((int)epochDay); in HijrahDate()
|
D | MinguoChronology.java | 233 public MinguoDate dateEpochDay(long epochDay) { in dateEpochDay() argument 234 return new MinguoDate(LocalDate.ofEpochDay(epochDay)); in dateEpochDay()
|
D | ThaiBuddhistChronology.java | 269 public ThaiBuddhistDate dateEpochDay(long epochDay) { in dateEpochDay() argument 270 return new ThaiBuddhistDate(LocalDate.ofEpochDay(epochDay)); in dateEpochDay()
|
D | ChronoLocalDateTime.java | 465 long epochDay = toLocalDate().toEpochDay(); in toEpochSecond() local 466 long secs = epochDay * 86400 + toLocalTime().toSecondOfDay(); in toEpochSecond()
|
D | ChronoZonedDateTime.java | 546 long epochDay = toLocalDate().toEpochDay(); in toEpochSecond() local 547 long secs = epochDay * 86400 + toLocalTime().toSecondOfDay(); in toEpochSecond()
|
D | IsoChronology.java | 247 public LocalDate dateEpochDay(long epochDay) { in dateEpochDay() argument 248 return LocalDate.ofEpochDay(epochDay); in dateEpochDay()
|
D | JapaneseChronology.java | 289 public JapaneseDate dateEpochDay(long epochDay) { in dateEpochDay() argument 290 return new JapaneseDate(LocalDate.ofEpochDay(epochDay)); in dateEpochDay()
|
D | Chronology.java | 367 ChronoLocalDate dateEpochDay(long epochDay); in dateEpochDay() argument
|
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/ |
D | CopticChronology.java | 183 public CopticDate dateEpochDay(long epochDay) { in dateEpochDay() argument 184 return CopticDate.ofEpochDay(epochDay); in dateEpochDay()
|
D | CopticDate.java | 122 static CopticDate ofEpochDay(long epochDay) { in ofEpochDay() argument 123 epochDay += EPOCH_DAY_DIFFERENCE; in ofEpochDay() 124 int prolepticYear = (int) (((epochDay * 4) + 1463) / 1461); in ofEpochDay() 126 int doy0 = (int) (epochDay - startYearEpochDay); in ofEpochDay()
|
D | TCKChronology.java | 184 long epochDay = date.getLong(ChronoField.EPOCH_DAY); in test_dateEpochDay() local 185 ChronoLocalDate test = chrono.dateEpochDay(epochDay); in test_dateEpochDay()
|
/libcore/luni/src/test/java/libcore/java/time/chrono/ |
D | ChronologyTest.java | 105 public ChronoLocalDate dateEpochDay(long epochDay) { in dateEpochDay() argument
|
/libcore/ojluni/src/main/java/java/time/ |
D | LocalDate.java | 221 long epochDay = Math.floorDiv(epochSec, SECONDS_PER_DAY); in now() local 222 return LocalDate.ofEpochDay(epochDay); in now() 307 public static LocalDate ofEpochDay(long epochDay) { in ofEpochDay() argument 308 long zeroDay = epochDay + DAYS_0000_TO_1970; in ofEpochDay()
|