Home
last modified time | relevance | path

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

/kernel/liteos_m/kal/posix/src/
Dtime.c576 tp->tm_year = year - TM_YEAR_BASE; in ConvertSecs2Utc()
577 if (tp->tm_year != year - TM_YEAR_BASE) { in ConvertSecs2Utc()
650 INT32 year = (EPOCH_YEAR - TM_YEAR_BASE); in ConvertUtc2Secs()
653 if (IS_LEAP_YEAR(year + TM_YEAR_BASE)) { in ConvertUtc2Secs()
659 if (IS_LEAP_YEAR(tm->tm_year + TM_YEAR_BASE)) { in ConvertUtc2Secs()
694 if (tmptr->tm_year < (EPOCH_YEAR - TM_YEAR_BASE) || in mktime()
Dtime_internal.h53 #define TM_YEAR_BASE 1900 macro