The isValidTimeVal() function
Verifies whether a timeval structure is valid and can be encoded to a Netezza Performance Server Timestamp.
Description
The function
has the following syntax:
inline bool isValidTimeStruct(const struct timeval& tv)tv specifies
the timeval structure to verify.Returns
False if isValidEpoch(tv.tv_sec) is false or isValidTimeValUsecs(tv.tv_usec) is false. Otherwise, the function returns true.
Throws
The function throws an opaque exception object if &tv is NULL.