Lines Matching refs:gChineseCalendarAstro
55 static icu::CalendarAstronomer *gChineseCalendarAstro = NULL; variable
89 if (gChineseCalendarAstro) { in calendar_chinese_cleanup()
90 delete gChineseCalendarAstro; in calendar_chinese_cleanup()
91 gChineseCalendarAstro = NULL; in calendar_chinese_cleanup()
539 if(gChineseCalendarAstro == NULL) { in winterSolstice()
540 gChineseCalendarAstro = new CalendarAstronomer(); in winterSolstice()
543 gChineseCalendarAstro->setTime(ms); in winterSolstice()
544 … UDate solarLong = gChineseCalendarAstro->getSunTime(CalendarAstronomer::WINTER_SOLSTICE(), TRUE); in winterSolstice()
569 if(gChineseCalendarAstro == NULL) { in newMoonNear()
570 gChineseCalendarAstro = new CalendarAstronomer(); in newMoonNear()
573 gChineseCalendarAstro->setTime(daysToMillis(days)); in newMoonNear()
574 UDate newMoon = gChineseCalendarAstro->getMoonTime(CalendarAstronomer::NEW_MOON(), after); in newMoonNear()
601 if(gChineseCalendarAstro == NULL) { in majorSolarTerm()
602 gChineseCalendarAstro = new CalendarAstronomer(); in majorSolarTerm()
605 gChineseCalendarAstro->setTime(daysToMillis(days)); in majorSolarTerm()
606 UDate solarLongitude = gChineseCalendarAstro->getSunLongitude(); in majorSolarTerm()