Searched refs:extra_days (Results 1 – 1 of 1) sorted by relevance
83 time64_t extra_days = nov2dec_transitions(tm); in gregorian_to_rockchip() local85 rtc_time64_to_tm(time - extra_days * 86400, tm); in gregorian_to_rockchip()88 if (nov2dec_transitions(tm) < extra_days) { in gregorian_to_rockchip()92 rtc_time64_to_tm(time - (extra_days - 1) * 86400, tm); in gregorian_to_rockchip()