Home
last modified time | relevance | path

Searched refs:days_in_month (Results 1 – 1 of 1) sorted by relevance

/hal_silabs-3.5.0/gecko/service/sleeptimer/src/
Dsl_sleeptimer.c150 static const uint8_t days_in_month[2u][12] = { variable
685 while (time >= days_in_month[leap_year_flag][current_month]) { in sl_sleeptimer_convert_time_to_date()
686 …time -= days_in_month[leap_year_flag][current_month]; // Subtracts the number of days of the passe… in sl_sleeptimer_convert_time_to_date()
726 …month_days += days_in_month[leap_year_flag][i]; // Add the number of days of the month of … in sl_sleeptimer_convert_date_to_time()
1392 dayOfYear += days_in_month[is_leap_year][i]; in compute_day_of_year()
1465 …|| (date->month_day == 0 || date->month_day > days_in_month[is_leap_year(date->year)][date->month]) in is_valid_date()