Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/util/
DHebrewCalendar.java518 int newMonth = month + (amount % yearLength); in roll() local
524 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()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DHebrewCalendar.java542 int newMonth = month + (amount % yearLength); in roll() local
548 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()
/external/icu/icu4c/source/i18n/
Dhebrwcal.cpp321 int32_t newMonth = month + (amount % yearLength); in roll() local
327 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()