Lines Matching full:year
193 #define DAY_OF_YEAR 1 /* n - day of year */
242 static time_t transtime P((time_t janfirst, int year,
840 ** Day of year.
858 ** Given the Epoch-relative time of January 1, 00:00:00 UTC, in a year, the
859 ** year, a rule, and the offset from UTC at the time that rule takes effect,
864 transtime(janfirst, year, rulep, offset)
866 const int year;
876 leapyear = isleap(year);
894 ** n - day of year.
914 yy0 = (rulep->r_mon <= 2) ? (year - 1) : year;
1029 register int year;
1045 ** Two transitions per year, from EPOCH_YEAR forward.
1056 for (year = EPOCH_YEAR;
1058 ++year) {
1061 starttime = transtime(janfirst, year, &start,
1063 endtime = transtime(janfirst, year, &end,
1078 newfirst += year_lengths[isleap(year)] *
1495 ** Return the number of leap years through the end of the given year
1496 ** where, to make the math easy, the answer for year zero is defined as zero.
1796 ** Turn y into an actual year number for now.