Home
last modified time | relevance | path

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

/libcore/luni/src/main/java/java/util/
DGregorianCalendar.java1153 int days, day, mod, maxWeeks, newWeek; in roll() local
1165 newWeek = mod(fields[field] - 1 + value, maxWeeks) + 1; in roll()
1166 if (newWeek == maxWeeks) { in roll()
1167 int addDays = (newWeek - fields[field]) * 7; in roll()
1171 set(field, newWeek - 1); in roll()
1173 } else if (newWeek == 1) { in roll()
1178 set(field, newWeek); in roll()
1181 set(field, newWeek); in roll()
1190 newWeek = mod(fields[field] - 1 + value, maxWeeks) + 1; in roll()
1191 if (newWeek == maxWeeks) { in roll()
[all …]