Home
last modified time | relevance | path

Searched refs:epochDay (Results 1 – 14 of 14) sorted by relevance

/libcore/ojluni/src/main/java/java/time/chrono/
DHijrahChronology.java499 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 …]
DHijrahDate.java159 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()
DMinguoChronology.java233 public MinguoDate dateEpochDay(long epochDay) { in dateEpochDay() argument
234 return new MinguoDate(LocalDate.ofEpochDay(epochDay)); in dateEpochDay()
DThaiBuddhistChronology.java269 public ThaiBuddhistDate dateEpochDay(long epochDay) { in dateEpochDay() argument
270 return new ThaiBuddhistDate(LocalDate.ofEpochDay(epochDay)); in dateEpochDay()
DChronoLocalDateTime.java465 long epochDay = toLocalDate().toEpochDay(); in toEpochSecond() local
466 long secs = epochDay * 86400 + toLocalTime().toSecondOfDay(); in toEpochSecond()
DChronoZonedDateTime.java546 long epochDay = toLocalDate().toEpochDay(); in toEpochSecond() local
547 long secs = epochDay * 86400 + toLocalTime().toSecondOfDay(); in toEpochSecond()
DIsoChronology.java247 public LocalDate dateEpochDay(long epochDay) { in dateEpochDay() argument
248 return LocalDate.ofEpochDay(epochDay); in dateEpochDay()
DJapaneseChronology.java289 public JapaneseDate dateEpochDay(long epochDay) { in dateEpochDay() argument
290 return new JapaneseDate(LocalDate.ofEpochDay(epochDay)); in dateEpochDay()
DChronology.java367 ChronoLocalDate dateEpochDay(long epochDay); in dateEpochDay() argument
/libcore/ojluni/src/test/java/time/tck/java/time/chrono/
DCopticChronology.java183 public CopticDate dateEpochDay(long epochDay) { in dateEpochDay() argument
184 return CopticDate.ofEpochDay(epochDay); in dateEpochDay()
DCopticDate.java122 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()
DTCKChronology.java184 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/
DChronologyTest.java105 public ChronoLocalDate dateEpochDay(long epochDay) { in dateEpochDay() argument
/libcore/ojluni/src/main/java/java/time/
DLocalDate.java221 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()