Searched refs:newMoon1 (Results 1 – 4 of 4) sorted by relevance
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | ChineseCalendar.java | 778 private boolean isLeapMonthBetween(int newMoon1, int newMoon2) { in isLeapMonthBetween() argument 783 if (synodicMonthsBetween(newMoon1, newMoon2) >= 50) { in isLeapMonthBetween() 784 throw new IllegalArgumentException("isLeapMonthBetween(" + newMoon1 + in isLeapMonthBetween() 789 return (newMoon2 >= newMoon1) && in isLeapMonthBetween() 790 (isLeapMonthBetween(newMoon1, newMoonNear(newMoon2 - SYNODIC_GAP, false)) || in isLeapMonthBetween() 926 int newMoon1 = newMoonNear(solsticeBefore + 1, true); in newYear() local 927 int newMoon2 = newMoonNear(newMoon1 + SYNODIC_GAP, true); in newYear() 930 if (synodicMonthsBetween(newMoon1, newMoon11) == 12 && in newYear() 931 (hasNoMajorSolarTerm(newMoon1) || hasNoMajorSolarTerm(newMoon2))) { in newYear()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | ChineseCalendar.java | 796 private boolean isLeapMonthBetween(int newMoon1, int newMoon2) { in isLeapMonthBetween() argument 801 if (synodicMonthsBetween(newMoon1, newMoon2) >= 50) { in isLeapMonthBetween() 802 throw new IllegalArgumentException("isLeapMonthBetween(" + newMoon1 + in isLeapMonthBetween() 807 return (newMoon2 >= newMoon1) && in isLeapMonthBetween() 808 (isLeapMonthBetween(newMoon1, newMoonNear(newMoon2 - SYNODIC_GAP, false)) || in isLeapMonthBetween() 945 int newMoon1 = newMoonNear(solsticeBefore + 1, true); in newYear() local 946 int newMoon2 = newMoonNear(newMoon1 + SYNODIC_GAP, true); in newYear() 949 if (synodicMonthsBetween(newMoon1, newMoon11) == 12 && in newYear() 950 (hasNoMajorSolarTerm(newMoon1) || hasNoMajorSolarTerm(newMoon2))) { in newYear()
|
/external/icu/icu4c/source/i18n/ |
D | chnsecal.cpp | 640 UBool ChineseCalendar::isLeapMonthBetween(int32_t newMoon1, int32_t newMoon2) const { in isLeapMonthBetween() argument 645 if (synodicMonthsBetween(newMoon1, newMoon2) >= 50) { in isLeapMonthBetween() 647 "isLeapMonthBetween(%d, %d): Invalid parameters", newMoon1, newMoon2 in isLeapMonthBetween() 652 return (newMoon2 >= newMoon1) && in isLeapMonthBetween() 653 (isLeapMonthBetween(newMoon1, newMoonNear(newMoon2 - SYNODIC_GAP, FALSE)) || in isLeapMonthBetween() 767 int32_t newMoon1 = newMoonNear(solsticeBefore + 1, TRUE); in newYear() local 768 int32_t newMoon2 = newMoonNear(newMoon1 + SYNODIC_GAP, TRUE); in newYear() 771 if (synodicMonthsBetween(newMoon1, newMoon11) == 12 && in newYear() 772 (hasNoMajorSolarTerm(newMoon1) || hasNoMajorSolarTerm(newMoon2))) { in newYear()
|
D | chnsecal.h | 193 virtual UBool isLeapMonthBetween(int32_t newMoon1, int32_t newMoon2) const;
|