openHiTLS API openHiTLS 0.1.0-Alpha1

◆ BSL_SAL_DateTimeCompareByUs()

uint32_t BSL_SAL_DateTimeCompareByUs ( const BSL_TIME dateA,
const BSL_TIME dateB 
)

Compare two dates, accurate to microseconds.

Compare two dates, accurate to microseconds

注意
None
参数
dateA[IN] Time
dateB[IN] Time
返回值
#BslTimeCmpResultComparison result of two dates
#BSL_TIME_CMP_ERROR- An error occurred in the comparison.
#BSL_TIME_CMP_EQUAL- The two dates are consistent.
#BSL_TIME_DATE_BEFORE- The first date is on the second
#BSL_TIME_DATE_AFTER - The first date is after the second