Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/
DGregorianCalendar.java558 int daysFromStart = mod7(days - 3 - (fields[DAY_OF_YEAR] - 1) in fullFieldsCalc() local
560 int week = (fields[DAY_OF_YEAR] - 1 + daysFromStart) / 7 in fullFieldsCalc()
561 + (7 - daysFromStart >= getMinimalDaysInFirstWeek() ? 1 : 0); in fullFieldsCalc()
563 fields[WEEK_OF_YEAR] = 7 - mod7(daysFromStart in fullFieldsCalc()
567 - mod7(daysFromStart + (leapYear ? 2 : 1))) { in fullFieldsCalc()
568 …fields[WEEK_OF_YEAR] = 7 - mod7(daysFromStart + (leapYear ? 2 : 1)) >= getMinimalDaysInFirstWeek()… in fullFieldsCalc()