Lines Matching +full:24 +full:m
30 FILE_RCSID("@(#)$File: cdf_time.c,v 1.25 2024/11/25 21:24:59 christos Exp $")
69 size_t m; in cdf_getday() local
71 for (m = 0; m < __arraycount(mdays); m++) { in cdf_getday()
72 int sub = mdays[m] + (m == 1 && isleap(year)); in cdf_getday()
86 size_t m; in cdf_getmonth() local
88 for (m = 0; m < __arraycount(mdays); m++) { in cdf_getmonth()
89 days -= mdays[m]; in cdf_getmonth()
90 if (m == 1 && isleap(year)) in cdf_getmonth()
93 return CAST(int, m); in cdf_getmonth()
95 return CAST(int, m); in cdf_getmonth()
117 tm.tm_hour = CAST(int, t % 24); in cdf_timestamp_to_timespec()
118 t /= 24; in cdf_timestamp_to_timespec()
163 *t += tm.tm_mday * 60 * 60 * 24; in cdf_timespec_to_timestamp()