Determine if date/time structure is valid in Clock epoch.
Files
clk.h/clk.c
Prototype
Arguments
p_date_time
Pointer to variable that contains the date/time structure to validate.
Returned Values
DEF_YES
, if date/time structure is valid.
DEF_NO
, otherwise.
Required Configuration
None.
Notes / Warnings
Date/time structure (p_date_time
) must be representable in Clock timestamp. Thus date to validate must be greater than or equal to CLK_EPOCH_YR_START
and less than CLK_EPOCH_YR_END
.