Searched refs:newMonth (Results 1 – 3 of 3) sorted by relevance
518 int newMonth = month + (amount % yearLength); in roll() local524 if (amount > 0 && month < ADAR_1 && newMonth >= ADAR_1) { in roll()525 newMonth++; in roll()526 } else if (amount < 0 && month > ADAR_1 && newMonth <= ADAR_1) { in roll()527 newMonth--; in roll()530 set(MONTH, (newMonth + 13) % 13); in roll()
542 int newMonth = month + (amount % yearLength); in roll() local548 if (amount > 0 && month < ADAR_1 && newMonth >= ADAR_1) { in roll()549 newMonth++; in roll()550 } else if (amount < 0 && month > ADAR_1 && newMonth <= ADAR_1) { in roll()551 newMonth--; in roll()554 set(MONTH, (newMonth + 13) % 13); in roll()
321 int32_t newMonth = month + (amount % yearLength); in roll() local327 if (amount > 0 && month < ADAR_1 && newMonth >= ADAR_1) { in roll()328 newMonth++; in roll()329 } else if (amount < 0 && month > ADAR_1 && newMonth <= ADAR_1) { in roll()330 newMonth--; in roll()333 set(UCAL_MONTH, (newMonth + 13) % 13); in roll()