Searched refs:day (Results 1 – 1 of 1) sorted by relevance
151 static sl_sleeptimer_weekDay_t compute_day_of_week(uint32_t day);152 static sl_sleeptimer_weekDay_t compute_day_of_week_64(uint64_t day);153 static uint16_t compute_day_of_year(sl_sleeptimer_month_t month, uint8_t day, bool isLeapYear);1688 static sl_sleeptimer_weekDay_t compute_day_of_week(uint32_t day) in compute_day_of_week() argument1690 return (sl_sleeptimer_weekDay_t)((day + 4) % 7); // January 1st was a Thursday(4) in 1970 in compute_day_of_week()1700 static sl_sleeptimer_weekDay_t compute_day_of_week_64(uint64_t day) in compute_day_of_week_64() argument1702 return (sl_sleeptimer_weekDay_t)((day + 1) % 7); // January 1st was a Monday(1) in 1900 in compute_day_of_week_64()1715 static uint16_t compute_day_of_year(sl_sleeptimer_month_t month, uint8_t day, bool is_leap_year) in compute_day_of_year() argument1723 dayOfYear += day; in compute_day_of_year()