Searched refs:ndays (Results 1 – 2 of 2) sorted by relevance
47 int ndays = 0; in compute_wday() local55 ndays += 365 + (is_leap_year(y) ? 1 : 0); in compute_wday()57 ndays += compute_yday(eft); in compute_wday()62 return (ndays + 4) % 7; in compute_wday()
84 int ndays = 0; in compute_wday() local92 ndays += 365 + (is_leap(y) ? 1 : 0); in compute_wday()94 ndays += compute_yday(eft); in compute_wday()99 return (ndays + 4) % 7; in compute_wday()