Home
last modified time | relevance | path

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

/loramac-node-3.4.0/src/system/
Dsystime.c69 static uint32_t CalendarGetMonth( uint32_t days, uint32_t year );
176 uint32_t year = localtime->tm_year - UNIX_YEAR; in SysTimeMkTime() local
185 nbdays = DIVC( ( TM_DAYS_IN_YEAR * 3 + TM_DAYS_IN_LEAP_YEAR ) * year, 4 ); in SysTimeMkTime()
188 ( ( ( correctionMonth[year % 4] >> ( ( localtime->tm_mon ) * 2 ) ) & 0x03 ) ) ); in SysTimeMkTime()
255 static uint32_t CalendarGetMonth( uint32_t days, uint32_t year ) in CalendarGetMonth() argument
258 if( ( year % 4 ) == 0 ) in CalendarGetMonth()
/loramac-node-3.4.0/src/boards/mcu/saml21/hal/include/
Dhpl_calendar.h125 uint16_t year; member