Searched refs:daysFromStart (Results 1 – 1 of 1) sorted by relevance
558 int daysFromStart = mod7(days - 3 - (fields[DAY_OF_YEAR] - 1) in fullFieldsCalc() local560 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()