Home
last modified time | relevance | path

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

/kernel/liteos_m/kal/posix/src/
Dtime.c566 (days >= (IS_LEAP_YEAR (year) ? DAYS_PER_LEAP_YEAR : DAYS_PER_NORMAL_YEAR))) { in ConvertSecs2Utc()
568 yearGuess = year + days / DAYS_PER_NORMAL_YEAR - (days % DAYS_PER_NORMAL_YEAR < 0); in ConvertSecs2Utc()
571 days -= ((yearGuess - year) * DAYS_PER_NORMAL_YEAR + in ConvertSecs2Utc()
Dtime_internal.h61 #define DAYS_PER_NORMAL_YEAR 365 macro