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
172 { 1, 1, 60, 60}, // YEAR
210 * Implement abstract Calendar method to return the extended year
212 * YEAR field as the cycle and year-of-cycle, or the EXTENDED_YEAR
213 * field as the continuous year count, depending on which is newer.
217 int32_t year;
219 year = internalGet(UCAL_EXTENDED_YEAR, 1); // Default to year 1
223 year = cycle * 60 + internalGet(UCAL_YEAR, 1) - (fEpochYear - CHINESE_EPOCH_YEAR);
225 return year;
230 * extended year and month.
248 * <li>YEAR
307 * given month in the given extended year.
311 * @param eyear the extended year
315 * day of the given month and year
323 // modify the extended year value accordingly.
330 int32_t gyear = eyear + fEpochYear - 1; // Gregorian year
413 // value from 0..11 in a non-leap year, and from 0..12 in a
414 // leap year.
423 // year.) Month 0 is never followed by a leap
440 int32_t n = isLeapYear ? 13 : 12; // Months in this year
515 * Gregorian year, that is, the winter solstice of the given year.
517 * @param gyear a Gregorian year
519 * winter solstice of the given year
662 * @param gyear the Gregorian year of the given date
664 * @param setAllFields if true, set the EXTENDED_YEAR, ERA, YEAR,
672 // These define the boundaries of this Chinese year, specifically,
710 // Extended year and cycle year is based on the epoch year
731 // Days will be before the first new year we compute if this
733 // New year computations are cached so this should be cheap in
749 * Return the Chinese new year of the given Gregorian year.
750 * @param gyear a Gregorian year
752 * Chinese new year of the given year (this will be a new moon)