Lines Matching defs:year
65 * Gauss's algorithm for the day of the week of the first day of any year
69 first_wday_of(int year)
72 5 * ((year - 1) % 4) +
73 4 * ((year - 1) % 100) +
74 6 * ((year - 1) % 400)) % 7);
88 int century, year;
97 year = -1;
529 year = i % 100;
608 if (century != -1 || year != -1) {
609 if (year == -1)
610 year = 0;
612 if (year < 69)
613 year += 100;
615 year += century * 100 - TM_YEAR_BASE;
616 tm->tm_year = year;
634 * of the specified week of the year.