Lines Matching refs:gyear
338 int32_t gyear = eyear + fEpochYear - 1; // Gregorian year in handleComputeMonthStart() local
339 int32_t theNewYear = newYear(gyear); in handleComputeMonthStart()
532 int32_t ChineseCalendar::winterSolstice(int32_t gyear) const { in winterSolstice()
535 int32_t cacheValue = CalendarCache::get(&gChineseCalendarWinterSolsticeCache, gyear, status); in winterSolstice()
542 double ms = daysToMillis(Grego::fieldsToDay(gyear, UCAL_DECEMBER, 1)); in winterSolstice()
555 CalendarCache::put(&gChineseCalendarWinterSolsticeCache, gyear, cacheValue, status); in winterSolstice()
683 void ChineseCalendar::computeChineseFields(int32_t days, int32_t gyear, int32_t gmonth, in computeChineseFields() argument
690 int32_t solsticeAfter = winterSolstice(gyear); in computeChineseFields()
692 solsticeBefore = winterSolstice(gyear - 1); in computeChineseFields()
695 solsticeAfter = winterSolstice(gyear + 1); in computeChineseFields()
708 int32_t theNewYear = newYear(gyear); in computeChineseFields()
710 theNewYear = newYear(gyear-1); in computeChineseFields()
735 int32_t extended_year = gyear - fEpochYear; in computeChineseFields()
736 int cycle_year = gyear - CHINESE_EPOCH_YEAR; in computeChineseFields()
758 int32_t theNewYear = newYear(gyear); in computeChineseFields()
760 theNewYear = newYear(gyear-1); in computeChineseFields()
777 int32_t ChineseCalendar::newYear(int32_t gyear) const { in newYear()
779 int32_t cacheValue = CalendarCache::get(&gChineseCalendarNewYearCache, gyear, status); in newYear()
783 int32_t solsticeBefore= winterSolstice(gyear - 1); in newYear()
784 int32_t solsticeAfter = winterSolstice(gyear); in newYear()
796 CalendarCache::put(&gChineseCalendarNewYearCache, gyear, cacheValue, status); in newYear()