The isValidTimeTz() function

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

Description

The function has the following syntax:
inline bool isValidTimeTz(uint64 encodedTime, int32 encodedZone)

The encodedTime value is encoded in Netezza Performance Server Time format.

The encodedZone value is encoded in Netezza Performance Server Time Offset format.

Returns

False if isValidTime(encodedTime) is false, or isValidTimeTzOffset(encodedZone) is false. Otherwise, the function returns true.