Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
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 Thu Jul 14 2022 14:36:28 by
