Searched refs:last_year (Results 1 – 1 of 1) sorted by relevance
36 int last_year; in rtc_calc_weekday() local41 last_year = tm->tm_year - 1; in rtc_calc_weekday()44 leaps_to_date = last_year / 4 - last_year / 100 + last_year / 400; in rtc_calc_weekday()61 day += last_year * 365 + leaps_to_date + month_offset[tm->tm_mon - 1] + in rtc_calc_weekday()