Searched refs:newMonth (Results 1 – 3 of 3) sorted by relevance
520 int newMonth = month + (amount % yearLength); in roll() local526 if (amount > 0 && month < ADAR_1 && newMonth >= ADAR_1) { in roll()527 newMonth++; in roll()528 } else if (amount < 0 && month > ADAR_1 && newMonth <= ADAR_1) { in roll()529 newMonth--; in roll()532 set(MONTH, (newMonth + 13) % 13); in roll()
544 int newMonth = month + (amount % yearLength); in roll() local550 if (amount > 0 && month < ADAR_1 && newMonth >= ADAR_1) { in roll()551 newMonth++; in roll()552 } else if (amount < 0 && month > ADAR_1 && newMonth <= ADAR_1) { in roll()553 newMonth--; in roll()556 set(MONTH, (newMonth + 13) % 13); in roll()
324 int32_t newMonth = month + (amount % yearLength); in roll() local330 if (amount > 0 && month < ADAR_1 && newMonth >= ADAR_1) { in roll()331 newMonth++; in roll()332 } else if (amount < 0 && month > ADAR_1 && newMonth <= ADAR_1) { in roll()333 newMonth--; in roll()336 set(UCAL_MONTH, (newMonth + 13) % 13); in roll()