[#BloombergLP-balber-BerUtil_TimezoneOffsetImpUtil-putTimezoneOffsetInMinutes]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::xref:BloombergLP/balber/BerUtil_TimezoneOffsetImpUtil.adoc[BerUtil&lowbar;TimezoneOffsetImpUtil]::putTimezoneOffsetInMinutes
:relfileprefix: ../../../
:mrdocs:

Encode a time&hyphen;zone offset in minutes to `streamBuf`&period;

== Synopsis

Declared in `&lt;balber&lowbar;berutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
putTimezoneOffsetInMinutes(
    std::streambuf* streamBuf,
    int value);
----

== Description

The behavior is undefined unless `k&lowbar;MIN&lowbar;OFFSET &lt;&equals; value` and &grave;value &lt;&equals; k&lowbar;MAX&lowbar;OFFSET&grave;&period;

== Return Value

0 on success, and a non&hyphen;zero value otherwise

== Parameters

[cols="1,4"]
|===
| Name| Description
| *streamBuf*
| output stream buffer
| *value*
| value to encode
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
