BloombergLP::balber::BerUtil_TimezoneOffsetImpUtil::getTimezoneOffsetInMinutesIfValid

Read a time zone offset value from the specified streamBuf. If the offset is greater than or equal to k_MIN_OFFSET and less than or equal to k_MAX_OFFSET then load the value of the offset to the specified value and return zero, otherwise do not modify the value addressed by value and return non-zero.

Synopsis

Declared in <balber_berutil.h>

static
int
getTimezoneOffsetInMinutesIfValid(
    int* value,
    std::streambuf* streamBuf);