Lines Matching defs:month
82 static int days_pmonth(int month, int year);
87 * Simple routine to calculate the number of days in a given month.
90 days_pmonth(int month, int year)
96 ndays = mtab[month];
98 if (month == 1) {
214 * - once a month (M) at a specific day (d) (d = 1..31,l|L)
228 /* Save away the number of days in this month */
286 /* User wants the last day of the month. */
410 * "day-of-month" that does not exist in the selected month.
413 * in the following month (eg: Feb 31 turns into Mar 3rd).
620 * Need to get to the last day of next month. Origtm is
621 * already at the last day of this month, so just add to
622 * it number of days in the next month.
631 /* Jump to the same day in the next month */
634 * In some cases, the next month may not *have* the
635 * desired day-of-the-month. If that happens, then
636 * move to the next month that does have enough days.