Lines Matching full:year
132 #define DAY_OF_YEAR 1 /* n - day of year */
178 static time_t transtime(time_t janfirst, int year,
789 ** Day of year.
807 ** Given the Epoch-relative time of January 1, 00:00:00 UTC, in a year, the
808 ** year, a rule, and the offset from UTC at the time that rule takes effect,
813 transtime(janfirst, year, rulep, offset)
815 const int year;
825 leapyear = isleap(year);
843 ** n - day of year.
863 yy0 = (rulep->r_mon <= 2) ? (year - 1) : year;
977 register int year;
993 ** Two transitions per year, from EPOCH_YEAR forward.
1005 for (year = EPOCH_YEAR;
1007 ++year) {
1010 starttime = transtime(janfirst, year, &start,
1012 endtime = transtime(janfirst, year, &end,
1027 newfirst += year_lengths[isleap(year)] *
1418 ** Return the number of leap years through the end of the given year
1419 ** where, to make the math easy, the answer for year zero is defined as zero.
1709 ** Turn y into an actual year number for now.