The isValidSqlOffset() function

Verifies whether a time offset value is within the valid API range.

Description

The function has the following syntax:
inline bool isValidSqlOffset(int32 offset)
The offset value specifies a time that is offset in minutes in the range of SQL_OFFSET_MIN to SQL_OFFSET_MAX inclusive.

Returns

False if offset > SQL_OFFSET_MAX or offset < SQL_OFFSET_MIN. Otherwise, the function returns true.