Home | History | Annotate | Download | only in i18n

Lines Matching full:gyear

298     int32_t gyear = eyear + CHINESE_EPOCH_YEAR - 1; // Gregorian year
299 int32_t theNewYear = newYear(gyear);
461 * @param gyear a Gregorian year
465 int32_t ChineseCalendar::winterSolstice(int32_t gyear) const {
468 int32_t cacheValue = CalendarCache::get(&gChineseCalendarWinterSolsticeCache, gyear, status);
475 double ms = daysToMillis(Grego::fieldsToDay(gyear, UCAL_DECEMBER, 1));
488 CalendarCache::put(&gChineseCalendarWinterSolsticeCache, gyear, cacheValue, status);
606 * @param gyear the Gregorian year of the given date
612 void ChineseCalendar::computeChineseFields(int32_t days, int32_t gyear, int32_t gmonth,
620 int32_t solsticeAfter = winterSolstice(gyear);
622 solsticeBefore = winterSolstice(gyear - 1);
625 solsticeAfter = winterSolstice(gyear + 1);
654 int32_t year = gyear - CHINESE_EPOCH_YEAR;
675 int32_t theNewYear = newYear(gyear);
677 theNewYear = newYear(gyear-1);
690 * @param gyear a Gregorian year
694 int32_t ChineseCalendar::newYear(int32_t gyear) const {
696 int32_t cacheValue = CalendarCache::get(&gChineseCalendarNewYearCache, gyear, status);
700 int32_t solsticeBefore= winterSolstice(gyear - 1);
701 int32_t solsticeAfter = winterSolstice(gyear);
713 CalendarCache::put(&gChineseCalendarNewYearCache, gyear, cacheValue, status);