The isValidEpoch() function

Verifies whether a decoded time_t value is valid and can be decoded to NZ Timestamp or Date.

Description

The function has the following syntax:
inline bool isValidEpoch(int32 time)
time specifies the C++ time value, forced to be a signed int32.

Returns

False if time < 0. Otherwise, the function returns true.