Searched refs:newMoon (Results 1 – 8 of 8) sorted by relevance
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
D | ChineseCalendar.java | 530 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 …]
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/util/ |
D | ChineseCalendar.java | 514 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 …]
|
/third_party/icu/icu4c/source/i18n/ |
D | chnsecal.cpp | 337 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 …]
|
D | chnsecal.h | 192 virtual UBool hasNoMajorSolarTerm(int32_t newMoon) const; 197 virtual void offsetMonth(int32_t newMoon, int32_t dom, int32_t delta);
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
D | chnsecal.cpp | 337 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 …]
|
D | chnsecal.h | 192 virtual UBool hasNoMajorSolarTerm(int32_t newMoon) const; 197 virtual void offsetMonth(int32_t newMoon, int32_t dom, int32_t delta);
|
/third_party/node/deps/icu-small/source/i18n/ |
D | chnsecal.cpp | 340 int32_t newMoon = newMoonNear(theNewYear + month * 29, true); in handleComputeMonthStart() local 342 int32_t julianDay = newMoon + kEpochStartAsJulianDay; in handleComputeMonthStart() 358 nonConstThis->computeChineseFields(newMoon, getGregorianYear(), in handleComputeMonthStart() 363 newMoon = newMoonNear(newMoon + SYNODIC_GAP, true); in handleComputeMonthStart() 364 julianDay = newMoon + kEpochStartAsJulianDay; in handleComputeMonthStart() 580 UDate newMoon = gChineseCalendarAstro->getMoonTime(CalendarAstronomer::NEW_MOON(), after); in newMoonNear() local 583 return (int32_t) millisToDays(newMoon); in newMoonNear() 628 UBool ChineseCalendar::hasNoMajorSolarTerm(int32_t newMoon) const { in hasNoMajorSolarTerm() 629 return majorSolarTerm(newMoon) == in hasNoMajorSolarTerm() 630 majorSolarTerm(newMoonNear(newMoon + SYNODIC_GAP, true)); in hasNoMajorSolarTerm() [all …]
|
D | chnsecal.h | 250 virtual UBool hasNoMajorSolarTerm(int32_t newMoon) const; 255 virtual void offsetMonth(int32_t newMoon, int32_t dom, int32_t delta, UErrorCode& status);
|