Searched refs:leap_day (Results 1 – 1 of 1) sorted by relevance
654 uint8_t leap_day = 0; in sl_sleeptimer_convert_time_to_date() local673 leap_day = TIME_LEAP_DAYS_UP_TO_YEAR(full_year); // Approximates the number of leap days. in sl_sleeptimer_convert_time_to_date()674 …full_year = (time - leap_day) / (TIME_DAY_PER_YEAR); // Computes the number of year integrating th… in sl_sleeptimer_convert_time_to_date()675 …leap_day = TIME_LEAP_DAYS_UP_TO_YEAR(full_year); // Computes the actual number of leap days of th… in sl_sleeptimer_convert_time_to_date()682 time = (time - leap_day) - (TIME_DAY_PER_YEAR * full_year); // Subtracts days of previous year. in sl_sleeptimer_convert_time_to_date()