Return whether value is a valid time‐zone offset in minutes.

Synopsis

Declared in <balber_berutil.h>

static
bool
isValidTimezoneOffsetInMinutes(int value);

Description

A time‐zone offset is valid if it is greater than or equal to k_MIN_OFFSET and less than or equal to k_MAX_OFFSET.

Return Value

true if value is a valid time‐zone offset in minutes, and false otherwise

Parameters

Name

Description

value

value to encode

Created with MrDocs