Encode a time‐zone offset in minutes to streamBuf.

Synopsis

Declared in <balber_berutil.h>

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

Description

The behavior is undefined unless k_MIN_OFFSET <= value and `value <= k_MAX_OFFSET`.

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

streamBuf

output stream buffer

value

value to encode

Created with MrDocs