Home
last modified time | relevance | path

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

/external/icu/android_icu4j/src/main/java/android/icu/util/
DChineseCalendar.java514 private void offsetMonth(int newMoon, int dom, int delta) { in offsetMonth() argument
516 newMoon += (int) (CalendarAstronomer.SYNODIC_MONTH * (delta - 0.5)); in offsetMonth()
519 newMoon = newMoonNear(newMoon, true); in offsetMonth()
522 int jd = newMoon + EPOCH_JULIAN_DAY - 1 + dom; in offsetMonth()
715 long newMoon = astro.getMoonTime(CalendarAstronomer.NEW_MOON, after); in newMoonNear() local
717 return millisToDays(newMoon); in newMoonNear()
754 private boolean hasNoMajorSolarTerm(int newMoon) { in hasNoMajorSolarTerm() argument
756 int mst = majorSolarTerm(newMoon); in hasNoMajorSolarTerm()
757 int nmn = newMoonNear(newMoon + SYNODIC_GAP, true); in hasNoMajorSolarTerm()
966 int newMoon = newMoonNear(newYear + month * 29, true); in handleComputeMonthStart() local
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DChineseCalendar.java530 private void offsetMonth(int newMoon, int dom, int delta) { in offsetMonth() argument
532 newMoon += (int) (CalendarAstronomer.SYNODIC_MONTH * (delta - 0.5)); in offsetMonth()
535 newMoon = newMoonNear(newMoon, true); in offsetMonth()
538 int jd = newMoon + EPOCH_JULIAN_DAY - 1 + dom; in offsetMonth()
733 long newMoon = astro.getMoonTime(CalendarAstronomer.NEW_MOON, after); in newMoonNear() local
735 return millisToDays(newMoon); in newMoonNear()
772 private boolean hasNoMajorSolarTerm(int newMoon) { in hasNoMajorSolarTerm() argument
774 int mst = majorSolarTerm(newMoon); in hasNoMajorSolarTerm()
775 int nmn = newMoonNear(newMoon + SYNODIC_GAP, true); in hasNoMajorSolarTerm()
986 int newMoon = newMoonNear(newYear + month * 29, true); in handleComputeMonthStart() local
[all …]
/external/icu/icu4c/source/i18n/
Dchnsecal.cpp337 int32_t newMoon = newMoonNear(theNewYear + month * 29, TRUE); in handleComputeMonthStart() local
339 int32_t julianDay = newMoon + kEpochStartAsJulianDay; in handleComputeMonthStart()
354 nonConstThis->computeChineseFields(newMoon, getGregorianYear(), in handleComputeMonthStart()
359 newMoon = newMoonNear(newMoon + SYNODIC_GAP, TRUE); in handleComputeMonthStart()
360 julianDay = newMoon + kEpochStartAsJulianDay; in handleComputeMonthStart()
574 UDate newMoon = gChineseCalendarAstro->getMoonTime(CalendarAstronomer::NEW_MOON(), after); in newMoonNear() local
577 return (int32_t) millisToDays(newMoon); in newMoonNear()
622 UBool ChineseCalendar::hasNoMajorSolarTerm(int32_t newMoon) const { in hasNoMajorSolarTerm()
623 return majorSolarTerm(newMoon) == in hasNoMajorSolarTerm()
624 majorSolarTerm(newMoonNear(newMoon + SYNODIC_GAP, TRUE)); in hasNoMajorSolarTerm()
[all …]
Dchnsecal.h192 virtual UBool hasNoMajorSolarTerm(int32_t newMoon) const;
197 virtual void offsetMonth(int32_t newMoon, int32_t dom, int32_t delta);