Lines Matching defs:year
129 #define DAY_OF_YEAR 1 /* n - day of year */
160 static time_t transtime P((time_t janfirst, int year,
596 ** Day of year.
614 ** Given the Epoch-relative time of January 1, 00:00:00 GMT, in a year, the
615 ** year, a rule, and the offset from GMT at the time that rule takes effect,
620 transtime(janfirst, year, rulep, offset)
622 const int year;
631 leapyear = isleap(year);
649 ** n - day of year.
669 yy0 = (rulep->r_mon <= 2) ? (year - 1) : year;
785 register int year;
801 ** Two transitions per year, from EPOCH_YEAR to 2037.
818 for (year = EPOCH_YEAR; year <= 2037; ++year) {
819 starttime = transtime(janfirst, year, &start,
821 endtime = transtime(janfirst, year, &end,
835 year_lengths[isleap(year)] * SECSPERDAY;