Lines Matching refs:day
28 #define NUMBER_MISSING_DAYS 11 /* 11 day correction */
31 #define SPACE -1 /* used in day array */
72 #define DAY_LEN 3 /* 3 spaces per day */
76 #define HEAD_SEP 2 /* spaces between day headings */
196 unsigned day, dw, dm;
215 * return the 1 based day number within the year
217 day = 1;
219 ++day;
224 day += days_in_month[--i];
228 * return the 0 based day number for any date from 1 Jan. 1 to
233 temp = (long)(year - 1) * 365 + leap_years_since_year_1(year - 1) + day;
241 day = 1;
250 days[dw++] = day++;
287 unsigned col, val, day;
293 day = *dp++;
294 if (day != SPACE) {
297 if (day >= 100) {
299 p[-1] = (day / 100) + '0';
300 day %= 100;
303 val = day / 10;
307 *++p = day % 10 + '0';