Home
last modified time | relevance | path

Searched refs:DAYS_PER_CYCLE (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/time/zone/
DZoneRules.java167 private static final int DAYS_PER_CYCLE = 146097; field in ZoneRules
173 private static final long DAYS_0000_TO_1970 = (DAYS_PER_CYCLE * 5L) - (30L * 365L + 7L);
958 long adjustCycles = (zeroDay + 1) / DAYS_PER_CYCLE - 1; in findYear()
960 zeroDay += -adjustCycles * DAYS_PER_CYCLE; in findYear()
962 long yearEst = (400 * zeroDay + 591) / DAYS_PER_CYCLE; in findYear()
/libcore/ojluni/src/main/java/java/time/
DLocalDate.java161 private static final int DAYS_PER_CYCLE = 146097; field in LocalDate
167 static final long DAYS_0000_TO_1970 = (DAYS_PER_CYCLE * 5L) - (30L * 365L + 7L);
345 long adjustCycles = (zeroDay + 1) / DAYS_PER_CYCLE - 1; in ofEpochDay()
347 zeroDay += -adjustCycles * DAYS_PER_CYCLE; in ofEpochDay()
349 long yearEst = (400 * zeroDay + 591) / DAYS_PER_CYCLE; in ofEpochDay()