Lines Matching refs:gyear
335 int32_t gyear = eyear + fEpochYear - 1; // Gregorian year in handleComputeMonthStart() local
336 int32_t theNewYear = newYear(gyear); in handleComputeMonthStart()
526 int32_t ChineseCalendar::winterSolstice(int32_t gyear) const { in winterSolstice()
529 int32_t cacheValue = CalendarCache::get(&gChineseCalendarWinterSolsticeCache, gyear, status); in winterSolstice()
536 double ms = daysToMillis(Grego::fieldsToDay(gyear, UCAL_DECEMBER, 1)); in winterSolstice()
549 CalendarCache::put(&gChineseCalendarWinterSolsticeCache, gyear, cacheValue, status); in winterSolstice()
673 void ChineseCalendar::computeChineseFields(int32_t days, int32_t gyear, int32_t gmonth, in computeChineseFields() argument
681 int32_t solsticeAfter = winterSolstice(gyear); in computeChineseFields()
683 solsticeBefore = winterSolstice(gyear - 1); in computeChineseFields()
686 solsticeAfter = winterSolstice(gyear + 1); in computeChineseFields()
717 int32_t extended_year = gyear - fEpochYear; in computeChineseFields()
718 int cycle_year = gyear - CHINESE_EPOCH_YEAR; in computeChineseFields()
740 int32_t theNewYear = newYear(gyear); in computeChineseFields()
742 theNewYear = newYear(gyear-1); in computeChineseFields()
759 int32_t ChineseCalendar::newYear(int32_t gyear) const { in newYear()
761 int32_t cacheValue = CalendarCache::get(&gChineseCalendarNewYearCache, gyear, status); in newYear()
765 int32_t solsticeBefore= winterSolstice(gyear - 1); in newYear()
766 int32_t solsticeAfter = winterSolstice(gyear); in newYear()
778 CalendarCache::put(&gChineseCalendarNewYearCache, gyear, cacheValue, status); in newYear()