Home
last modified time | relevance | path

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

/kernel/liteos_a/fs/fat/os_adapt/
Dfatfs.c75 #define YEAR_OFFSET 80 /* Year start from 1980 in FATFS, while start from 1900 in struct tm */ macro
1395 time.tm_year = GET_YEAR(fdate) + YEAR_OFFSET; /* Year start from 1980 in FATFS */ in fattime_transfer()
1409 …ftime |= ((DWORD)((st.tm_year > YEAR_OFFSET) ? (st.tm_year - YEAR_OFFSET) : 0)) << FTIME_YEAR_OFFS… in fattime_format()