Home
last modified time | relevance | path

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

/libcore/ojluni/src/main/java/java/time/
DMonth.java496 int leap = leapYear ? 1 : 0; in firstDayOfYear() local
503 return 60 + leap; in firstDayOfYear()
505 return 91 + leap; in firstDayOfYear()
507 return 121 + leap; in firstDayOfYear()
509 return 152 + leap; in firstDayOfYear()
511 return 182 + leap; in firstDayOfYear()
513 return 213 + leap; in firstDayOfYear()
515 return 244 + leap; in firstDayOfYear()
517 return 274 + leap; in firstDayOfYear()
519 return 305 + leap; in firstDayOfYear()
[all …]
DLocalDate.java282 boolean leap = IsoChronology.INSTANCE.isLeapYear(year); in ofYearDay()
283 if (dayOfYear == 366 && leap == false) { in ofYearDay()
287 int monthEnd = moy.firstDayOfYear(leap) + moy.length(leap) - 1; in ofYearDay()
291 int dom = dayOfYear - moy.firstDayOfYear(leap) + 1; in ofYearDay()