Lines Matching refs:week
228 * Compute the week number from the number of days since March 1st year 0.
230 * week of a year includes at least four days of that year it is week 1,
231 * otherwise it gets the number of the last week of the previous year.
233 * part of the week.
236 week(int nd, int *y)
239 int fw; /* 1st day of week 1 of previous, this and
247 /* return the first day of week 1 of year y */
260 * If more than 3 days of this week are in the preceding year, the
261 * next week is week 1 (and the next monday is the answer),
262 * otherwise this week is week 1 and the last monday is the