Lines Matching refs:newMoon2
634 * at or before month newMoon2.
637 * @param newMoon2 days after January 1, 1970 0:00 astronomical base zone
640 UBool ChineseCalendar::isLeapMonthBetween(int32_t newMoon1, int32_t newMoon2) const {
645 if (synodicMonthsBetween(newMoon1, newMoon2) >= 50) {
647 "isLeapMonthBetween(%d, %d): Invalid parameters", newMoon1, newMoon2
652 return (newMoon2 >= newMoon1) &&
653 (isLeapMonthBetween(newMoon1, newMoonNear(newMoon2 - SYNODIC_GAP, FALSE)) ||
654 hasNoMajorSolarTerm(newMoon2));
768 int32_t newMoon2 = newMoonNear(newMoon1 + SYNODIC_GAP, TRUE);
772 (hasNoMajorSolarTerm(newMoon1) || hasNoMajorSolarTerm(newMoon2))) {
773 cacheValue = newMoonNear(newMoon2 + SYNODIC_GAP, TRUE);
775 cacheValue = newMoon2;