Lines Matching refs:year
45 /* leap year -- account for Gregorian reformation in 1752 */
61 /* number of leap years between year 1 and this year, not inclusive */
84 unsigned month, year, flags, i;
102 year = local_time->tm_year + 1900;
110 year = xatou_range(*argv, 1, 9999);
133 day_array(month, year, dp);
134 len = sprintf(lineout, "%s %d", month_names[month - 1], year);
148 sprintf(lineout, "%d", year);
156 day_array(i + 1, year, days[i]);
192 static void day_array(unsigned month, unsigned year, unsigned *days)
200 if ((month == 9) && (year == 1752)) {
215 * return the 1 based day number within the year
218 if ((month > 2) && leap_year(year)) {
233 temp = (long)(year - 1) * 365 + leap_years_since_year_1(year - 1) + day;
245 if ((month == 2) && leap_year(year)) {