Searched refs:days_in_month (Results 1 - 3 of 3) sorted by relevance
/freebsd-10.1-release/sys/kern/ |
H A D | subr_clock.c | 91 #define days_in_month(y, m) \ macro 149 ct->day > days_in_month(year, ct->mon) || 167 days += days_in_month(year, i); 199 for (i = 1; days >= days_in_month(year, i); i++) 200 days -= days_in_month(year, i);
|
/freebsd-10.1-release/contrib/dialog/ |
H A D | calendar.c | 142 days_in_month(struct tm *current, int offset /* -1, 0, 1 */ ) function 224 int last = days_in_month(current, 0); 225 int prev = days_in_month(current, -1); 469 now_time += ONE_DAY * days_in_month(¤t, 0); 471 now_time -= ONE_DAY * days_in_month(¤t, -1); 630 days_in_month(¤t, 0); 633 days_in_month(¤t, -1);
|
/freebsd-10.1-release/contrib/ntp/ntpd/ |
H A D | refclock_leitch.c | 114 static char days_in_month [] = { 31, 29, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; variable 559 if (leitch->day > days_in_month[leitch->month-1]) 567 leitch->yearday += days_in_month[i++];
|
Completed in 108 milliseconds