The isValidTime() function

Verifies whether a Netezza Performance Server-encoded Time value is valid and within range.

Description

The function has the following syntax:
inline bool isValidTime(uint64 encodedTime)
The encodedTime value is encoded in Netezza Performance Server Time format.

Returns

False if encodedTime < ENC_TIME_MIN, encodedTime >ENC_TIME_MAX. Otherwise, the function returns true.