Home | History | Annotate | Download | only in i18n

Lines Matching refs:gyear

333     int32_t gyear = eyear + fEpochYear - 1; // Gregorian year
334 int32_t theNewYear = newYear(gyear);
520 * @param gyear a Gregorian year
524 int32_t ChineseCalendar::winterSolstice(int32_t gyear) const {
527 int32_t cacheValue = CalendarCache::get(&gChineseCalendarWinterSolsticeCache, gyear, status);
534 double ms = daysToMillis(Grego::fieldsToDay(gyear, UCAL_DECEMBER, 1));
547 CalendarCache::put(&gChineseCalendarWinterSolsticeCache, gyear, cacheValue, status);
665 * @param gyear the Gregorian year of the given date
671 void ChineseCalendar::computeChineseFields(int32_t days, int32_t gyear, int32_t gmonth,
679 int32_t solsticeAfter = winterSolstice(gyear);
681 solsticeBefore = winterSolstice(gyear - 1);
684 solsticeAfter = winterSolstice(gyear + 1);
715 int32_t extended_year = gyear - fEpochYear;
716 int cycle_year = gyear - CHINESE_EPOCH_YEAR;
738 int32_t theNewYear = newYear(gyear);
740 theNewYear = newYear(gyear-1);
753 * @param gyear a Gregorian year
757 int32_t ChineseCalendar::newYear(int32_t gyear) const {
759 int32_t cacheValue = CalendarCache::get(&gChineseCalendarNewYearCache, gyear, status);
763 int32_t solsticeBefore= winterSolstice(gyear - 1);
764 int32_t solsticeAfter = winterSolstice(gyear);
776 CalendarCache::put(&gChineseCalendarNewYearCache, gyear, cacheValue, status);