Searched refs:firstweekday (Results 1 - 1 of 1) sorted by relevance

/openbsd-current/usr.bin/cal/
H A Dcal.c246 int firstweekday; local
256 firstweekday = day_in_week(1, 1, year) + 1;
259 firstsunday = firstday + (8 - firstweekday);
264 if (firstweekday > THURSDAY - 1)

Completed in 105 milliseconds