Lines Matching defs:year
142 DAY_OF_YEAR, /* n = day of year */
973 ** Day of year.
991 ** Given a year, a rule, and the offset from UT at the time that rule takes
992 ** effect, calculate the year-relative time that rule takes effect.
996 transtime(const int year, register const struct rule *const rulep,
1004 leapyear = isleap(year);
1022 ** n - day of year.
1039 yy0 = (rulep->r_mon <= 2) ? (year - 1) : year;
1074 ** "value" is the year-relative time of 00:00:00 UT on the day in
1075 ** question. To get the year-relative time of the specified local
1158 register int year;
1175 ** Two transitions per year, from EPOCH_YEAR forward.
1210 for (year = yearbeg; year < yearlim; year++) {
1212 starttime = transtime(year, &start, stdoffset),
1213 endtime = transtime(year, &end, dstoffset);
1215 yearsecs = (year_lengths[isleap(year)]
1243 yearlim = year;
1257 } else if (years_of_observations <= year - yearbeg)
1692 ** Return the number of leap years through the end of the given year
1693 ** where, to make the math easy, the answer for year zero is defined as zero.
1739 /* Calculate the year, avoiding integer overflow even if
1991 ** Turn y into an actual year number for now.