Lines Matching defs:holidays
44 * from holidays file fall within proper boundaries.
48 static int thisyear = 1970; /* this is changed by holidays file */
49 static int holidays[NHOLIDAYS]; /* holidays file day-of-year table */
63 int h_min; /* initialized from holidays file (time%100) */
64 int h_hour; /* initialized from holidays file (time/100) */
89 /* once holidays file is read, this is zero */
135 * Starting day after Christmas, complain if holidays not yet updated.
145 fprintf(stderr, "pnpsplit: holidays table setup failed\n");
147 holidays[0] = -1;
172 for (i = 0; holidays[i] >= 0; i++)
173 if (ltp->tm_yday == holidays[i])
181 * holidays array.
269 fprintf(stderr, "pnpsplit: too many holidays, ");
275 /* Fill up holidays array from holidays file */
288 holidays[holindx++] = (doy - 1);
292 holidays[holindx] = -1;