Searched refs:newMoon2 (Results 1 – 2 of 2) sorted by relevance
/external/icu4c/i18n/ |
D | chnsecal.cpp | 578 UBool ChineseCalendar::isLeapMonthBetween(int32_t newMoon1, int32_t newMoon2) const { in isLeapMonthBetween() 583 if (synodicMonthsBetween(newMoon1, newMoon2) >= 50) { in isLeapMonthBetween() 585 "isLeapMonthBetween(%d, %d): Invalid parameters", newMoon1, newMoon2 in isLeapMonthBetween() 590 return (newMoon2 >= newMoon1) && in isLeapMonthBetween() 591 (isLeapMonthBetween(newMoon1, newMoonNear(newMoon2 - SYNODIC_GAP, FALSE)) || in isLeapMonthBetween() 592 hasNoMajorSolarTerm(newMoon2)); in isLeapMonthBetween() 702 int32_t newMoon2 = newMoonNear(newMoon1 + SYNODIC_GAP, TRUE); in newYear() local 706 (hasNoMajorSolarTerm(newMoon1) || hasNoMajorSolarTerm(newMoon2))) { in newYear() 707 cacheValue = newMoonNear(newMoon2 + SYNODIC_GAP, TRUE); in newYear() 709 cacheValue = newMoon2; in newYear()
|
D | chnsecal.h | 172 virtual UBool isLeapMonthBetween(int32_t newMoon1, int32_t newMoon2) const;
|