Home | History | Annotate | Download | only in i18n

Lines Matching full:year

60  * The start year of the Chinese calendar, the 61st year of the reign
61 * of Huang Di. Some sources use the first year of his reign,
65 static const int32_t CHINESE_EPOCH_YEAR = -2636; // Gregorian year
179 { 1, 1, 60, 60}, // YEAR
217 * Implement abstract Calendar method to return the extended year
219 * YEAR field as the cycle and year-of-cycle, or the EXTENDED_YEAR
220 * field as the continuous year count, depending on which is newer.
224 int32_t year;
226 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1
230 year = cycle * 60 + internalGet(UCAL_YEAR, 1) - (fEpochYear - CHINESE_EPOCH_YEAR);
232 return year;
237 * extended year and month.
255 * <li>YEAR
314 * given month in the given extended year.
318 * @param eyear the extended year
322 * day of the given month and year
330 // modify the extended year value accordingly.
337 int32_t gyear = eyear + fEpochYear - 1; // Gregorian year
420 // value from 0..11 in a non-leap year, and from 0..12 in a
421 // leap year.
430 // year.) Month 0 is never followed by a leap
447 int32_t n = isLeapYear ? 13 : 12; // Months in this year
522 * Gregorian year, that is, the winter solstice of the given year.
524 * @param gyear a Gregorian year
526 * winter solstice of the given year
669 * @param gyear the Gregorian year of the given date
671 * @param setAllFields if true, set the EXTENDED_YEAR, ERA, YEAR,
679 // These define the boundaries of this Chinese year, specifically,
717 // Extended year and cycle year is based on the epoch year
738 // Days will be before the first new year we compute if this
740 // New year computations are cached so this should be cheap in
756 * Return the Chinese new year of the given Gregorian year.
757 * @param gyear a Gregorian year
759 * Chinese new year of the given year (this will be a new moon)