Searched refs:days (Results 1 – 1 of 1) sorted by relevance
69 static uint32_t CalendarGetMonth( uint32_t days, uint32_t year );215 uint32_t days; in SysTimeLocalTime() local219 CalendarDiv86400( timestamp + UNIX_HOUR_OFFSET, &days, &seconds ); in SysTimeLocalTime()231 localtime->tm_year = DIV_365_25( days ); in SysTimeLocalTime()232 days-= DIVC_BY_4( ( TM_DAYS_IN_YEAR * 3 + TM_DAYS_IN_LEAP_YEAR ) * localtime->tm_year ); in SysTimeLocalTime()234 localtime->tm_yday = days; in SysTimeLocalTime()237 localtime->tm_mon = CalendarGetMonth( days, localtime->tm_year ); in SysTimeLocalTime()241 weekDays += days; in SysTimeLocalTime()244 days -= ( DIVC_BY_2( ( localtime->tm_mon ) * ( 30 + 31 ) ) - in SysTimeLocalTime()248 localtime->tm_mday = days + 1; in SysTimeLocalTime()[all …]