H A D | dow.c | 57 dow = positive_mod((c1 + y1 + m1 + (y1 / 4) + d), 7); in timelib_day_of_week_ex() 66 timelib_sll timelib_day_of_week(timelib_sll y, timelib_sll m, timelib_sll d) in timelib_day_of_week() argument 68 return timelib_day_of_week_ex(y, m, d, 0); in timelib_day_of_week() 73 return timelib_day_of_week_ex(y, m, d, 1); in timelib_iso_day_of_week() 82 timelib_sll timelib_day_of_year(timelib_sll y, timelib_sll m, timelib_sll d) in timelib_day_of_year() argument 84 return (timelib_is_leap(y) ? d_table_leap[m] : d_table_common[m]) + d - 1; in timelib_day_of_year() 98 doy = timelib_day_of_year(y, m, d) + 1; in timelib_isoweek_from_date() 103 weekday = timelib_day_of_week(y, m, d); in timelib_isoweek_from_date() 150 return day + ((w - 1) * 7) + d; in timelib_daynr_from_weeknr() 161 int timelib_valid_date(timelib_sll y, timelib_sll m, timelib_sll d) in timelib_valid_date() argument [all …]
|