Lines Matching defs:year
1082 int year, month, day, hour, minute, sec, gmtoff;
1084 year = HDE_DATE_YEAR(dp);
1093 if (year < THE_EPOCH) {
1096 tvp->tv_sec = hs_date_to_gmtime(year, month, day, gmtoff);
1117 int year, month, day, hour, minute, sec, gmtoff;
1119 year = HSV_DATE_YEAR(dp);
1128 if (year < THE_EPOCH) {
1131 tvp->tv_sec = hs_date_to_gmtime(year, month, day, gmtoff);
1140 /* cumulative number of seconds per month, non-leap and leap-year versions */
1155 * Convert year(1970-2099)/month(1-12)/day(1-31) to seconds-since-1970/1/1.
1160 hs_date_to_gmtime(int year, int mon, int day, int gmtoff)
1166 if ((year < THE_EPOCH) || (year > END_OF_TIME) ||
1172 * Figure seconds until this year and correct for leap years.
1173 * Note: 2000 is a leap year but not 2100.
1175 y = year - THE_EPOCH;
1179 * Point to the correct table for this year and