Encode a time with time zone in ISO 8601 form to streamBuf.
Declared in <balber_berutil.h>
static
int
putTimeTzValue(
std::streambuf* streamBuf,
bdlt::TimeTz const& value,
BerEncoderOptions const* options);
If the specified options is 0, use 3 decimal places of fractional second precision, otherwise use the number of decimal places specified by the datetimeFractionalSecondPrecision attribute of the options. Return 0 on success and a non-zero value otherwise. The operation succeeds if all bytes of the ISO 8601 representation of the value are written to the streamBuf without the write position becoming unavailable.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| streamBuf | output stream buffer |
| value | value to encode |
| options | encoder options (0 for defaults) |