Home
last modified time | relevance | path

Searched refs:newMoon2 (Results 1 – 5 of 5) sorted by relevance

/external/icu/android_icu4j/src/main/java/android/icu/util/
DChineseCalendar.java776 private boolean isLeapMonthBetween(int newMoon1, int newMoon2) { in isLeapMonthBetween() argument
781 if (synodicMonthsBetween(newMoon1, newMoon2) >= 50) { in isLeapMonthBetween()
783 ", " + newMoon2 + in isLeapMonthBetween()
787 return (newMoon2 >= newMoon1) && in isLeapMonthBetween()
788 (isLeapMonthBetween(newMoon1, newMoonNear(newMoon2 - SYNODIC_GAP, false)) || in isLeapMonthBetween()
789 hasNoMajorSolarTerm(newMoon2)); in isLeapMonthBetween()
925 int newMoon2 = newMoonNear(newMoon1 + SYNODIC_GAP, true); in newYear() local
929 (hasNoMajorSolarTerm(newMoon1) || hasNoMajorSolarTerm(newMoon2))) { in newYear()
930 cacheValue = newMoonNear(newMoon2 + SYNODIC_GAP, true); in newYear()
932 cacheValue = newMoon2; in newYear()
/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()
801 ", " + newMoon2 + in isLeapMonthBetween()
805 return (newMoon2 >= newMoon1) && in isLeapMonthBetween()
806 (isLeapMonthBetween(newMoon1, newMoonNear(newMoon2 - SYNODIC_GAP, false)) || in isLeapMonthBetween()
807 hasNoMajorSolarTerm(newMoon2)); in isLeapMonthBetween()
944 int newMoon2 = newMoonNear(newMoon1 + SYNODIC_GAP, true); in newYear() local
948 (hasNoMajorSolarTerm(newMoon1) || hasNoMajorSolarTerm(newMoon2))) { in newYear()
949 cacheValue = newMoonNear(newMoon2 + SYNODIC_GAP, true); in newYear()
951 cacheValue = newMoon2; in newYear()
/external/icu/icu4c/source/i18n/
Dchnsecal.cpp638 UBool ChineseCalendar::isLeapMonthBetween(int32_t newMoon1, int32_t newMoon2) const { in isLeapMonthBetween()
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()
652 hasNoMajorSolarTerm(newMoon2)); in isLeapMonthBetween()
766 int32_t newMoon2 = newMoonNear(newMoon1 + SYNODIC_GAP, TRUE); in newYear() local
770 (hasNoMajorSolarTerm(newMoon1) || hasNoMajorSolarTerm(newMoon2))) { in newYear()
771 cacheValue = newMoonNear(newMoon2 + SYNODIC_GAP, TRUE); in newYear()
773 cacheValue = 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 ...