Home
last modified time | relevance | path

Searched refs:newMoon1 (Results 1 – 4 of 4) sorted by relevance

/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DChineseCalendar.java794 private boolean isLeapMonthBetween(int newMoon1, int newMoon2) { in isLeapMonthBetween() argument
799 if (synodicMonthsBetween(newMoon1, newMoon2) >= 50) { in isLeapMonthBetween()
800 throw new IllegalArgumentException("isLeapMonthBetween(" + newMoon1 + in isLeapMonthBetween()
805 return (newMoon2 >= newMoon1) && in isLeapMonthBetween()
806 (isLeapMonthBetween(newMoon1, newMoonNear(newMoon2 - SYNODIC_GAP, false)) || in isLeapMonthBetween()
943 int newMoon1 = newMoonNear(solsticeBefore + 1, true); in newYear() local
944 int newMoon2 = newMoonNear(newMoon1 + SYNODIC_GAP, true); in newYear()
947 if (synodicMonthsBetween(newMoon1, newMoon11) == 12 && in newYear()
948 (hasNoMajorSolarTerm(newMoon1) || hasNoMajorSolarTerm(newMoon2))) { in newYear()
/external/icu/icu4c/source/i18n/
Dchnsecal.cpp638 UBool ChineseCalendar::isLeapMonthBetween(int32_t newMoon1, int32_t newMoon2) const { in isLeapMonthBetween() argument
643 if (synodicMonthsBetween(newMoon1, newMoon2) >= 50) { in isLeapMonthBetween()
645 "isLeapMonthBetween(%d, %d): Invalid parameters", newMoon1, newMoon2 in isLeapMonthBetween()
650 return (newMoon2 >= newMoon1) && in isLeapMonthBetween()
651 (isLeapMonthBetween(newMoon1, newMoonNear(newMoon2 - SYNODIC_GAP, FALSE)) || in isLeapMonthBetween()
765 int32_t newMoon1 = newMoonNear(solsticeBefore + 1, TRUE); in newYear() local
766 int32_t newMoon2 = newMoonNear(newMoon1 + SYNODIC_GAP, TRUE); in newYear()
769 if (synodicMonthsBetween(newMoon1, newMoon11) == 12 && in newYear()
770 (hasNoMajorSolarTerm(newMoon1) || hasNoMajorSolarTerm(newMoon2))) { in newYear()
Dchnsecal.h191 virtual UBool isLeapMonthBetween(int32_t newMoon1, int32_t newMoon2) const;
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
Dcom.ibm.icu_4.2.1.v20100412.jarMETA-INF/MANIFEST.MF META-INF/ECLIPSEF.SF META-INF/ECLIPSEF ...