Marco Zecchini
/
Example_RTOS
Rtos API example
Embed:
(wiki syntax)
Functions | |
bool | _rtc_is_leap_year (int year) |
Compute if a year is a leap year or not. |
Function Documentation
bool _rtc_is_leap_year | ( | int | year ) |
Compute if a year is a leap year or not.
- Parameters:
-
year The year to test it shall be in the range [70:138]. Year 0 is translated into year 1900 CE.
- Returns:
- true if the year in input is a leap year and false otherwise.
- Note:
- - For use by the HAL only
Definition at line 66 of file mbed_mktime.c.
Generated on Sun Jul 17 2022 08:25:38 by 1.7.2