Searched refs:firstMoon (Results 1 – 3 of 3) sorted by relevance
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
D | ChineseCalendar.java | 853 int firstMoon = newMoonNear(solsticeBefore + 1, true); in computeChineseFields() local 857 isLeapYear = synodicMonthsBetween(firstMoon, lastMoon) == 12; in computeChineseFields() 859 int month = synodicMonthsBetween(firstMoon, thisMoon); in computeChineseFields() 860 if (isLeapYear && isLeapMonthBetween(firstMoon, thisMoon)) { in computeChineseFields() 869 !isLeapMonthBetween(firstMoon, newMoonNear(thisMoon - SYNODIC_GAP, false)); in computeChineseFields()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | ChineseCalendar.java | 872 int firstMoon = newMoonNear(solsticeBefore + 1, true); in computeChineseFields() local 876 isLeapYear = synodicMonthsBetween(firstMoon, lastMoon) == 12; in computeChineseFields() 878 int month = synodicMonthsBetween(firstMoon, thisMoon); in computeChineseFields() 879 if (isLeapYear && isLeapMonthBetween(firstMoon, thisMoon)) { in computeChineseFields() 888 !isLeapMonthBetween(firstMoon, newMoonNear(thisMoon - SYNODIC_GAP, false)); in computeChineseFields()
|
/external/icu/icu4c/source/i18n/ |
D | chnsecal.cpp | 692 int32_t firstMoon = newMoonNear(solsticeBefore + 1, TRUE); in computeChineseFields() local 696 isLeapYear = synodicMonthsBetween(firstMoon, lastMoon) == 12; in computeChineseFields() 698 int32_t month = synodicMonthsBetween(firstMoon, thisMoon); in computeChineseFields() 699 if (isLeapYear && isLeapMonthBetween(firstMoon, thisMoon)) { in computeChineseFields() 708 !isLeapMonthBetween(firstMoon, newMoonNear(thisMoon - SYNODIC_GAP, FALSE)); in computeChineseFields()
|