Home
last modified time | relevance | path

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

/loramac-node-3.7.0/src/system/
Dsystime.c174 uint32_t nbdays; in SysTimeMkTime() local
185 nbdays = DIVC( ( TM_DAYS_IN_YEAR * 3 + TM_DAYS_IN_LEAP_YEAR ) * year, 4 ); in SysTimeMkTime()
187 nbdays += ( DIVC_BY_2( ( localtime->tm_mon ) * ( 30 + 31 ) ) - in SysTimeMkTime()
190 nbdays += ( localtime->tm_mday - 1 ); in SysTimeMkTime()
193 nbsecs = nbdays * TM_SECONDS_IN_1DAY; in SysTimeMkTime()