Lines Matching refs:gChineseCalendarAstro
53 static icu::CalendarAstronomer *gChineseCalendarAstro = NULL; variable
87 if (gChineseCalendarAstro) { in calendar_chinese_cleanup()
88 delete gChineseCalendarAstro; in calendar_chinese_cleanup()
89 gChineseCalendarAstro = NULL; in calendar_chinese_cleanup()
537 if(gChineseCalendarAstro == NULL) { in winterSolstice()
538 gChineseCalendarAstro = new CalendarAstronomer(); in winterSolstice()
541 gChineseCalendarAstro->setTime(ms); in winterSolstice()
542 … UDate solarLong = gChineseCalendarAstro->getSunTime(CalendarAstronomer::WINTER_SOLSTICE(), TRUE); in winterSolstice()
567 if(gChineseCalendarAstro == NULL) { in newMoonNear()
568 gChineseCalendarAstro = new CalendarAstronomer(); in newMoonNear()
571 gChineseCalendarAstro->setTime(daysToMillis(days)); in newMoonNear()
572 UDate newMoon = gChineseCalendarAstro->getMoonTime(CalendarAstronomer::NEW_MOON(), after); in newMoonNear()
599 if(gChineseCalendarAstro == NULL) { in majorSolarTerm()
600 gChineseCalendarAstro = new CalendarAstronomer(); in majorSolarTerm()
603 gChineseCalendarAstro->setTime(daysToMillis(days)); in majorSolarTerm()
604 UDate solarLongitude = gChineseCalendarAstro->getSunLongitude(); in majorSolarTerm()