Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/
DGregorianCalendar.java496 boolean leapYear = isLeapYear(fields[YEAR]); in fullFieldsCalc()
497 int date = dayOfYear - daysInYear(leapYear, month); in fullFieldsCalc()
498 if (date > daysInMonth(leapYear, month)) { in fullFieldsCalc()
499 date -= daysInMonth(leapYear, month); in fullFieldsCalc()
527 leapYear = isLeapYear(fields[YEAR]); in fullFieldsCalc()
528 date = dayOfYear - daysInYear(leapYear, month); in fullFieldsCalc()
529 if (date > daysInMonth(leapYear, month)) { in fullFieldsCalc()
530 date -= daysInMonth(leapYear, month); in fullFieldsCalc()
566 } else if (fields[DAY_OF_YEAR] >= (leapYear ? 367 : 366) in fullFieldsCalc()
567 - mod7(daysFromStart + (leapYear ? 2 : 1))) { in fullFieldsCalc()
[all …]