Decode an ISO 8601 date with time zone from streamBuf.
Declared in <balber_berutil.h>
static
int
getDateTzValue(
bdlt::DateTz* value,
std::streambuf* streamBuf,
int length);
by the interpretation of the read bytes as an ISO 8601 date and time zone. Return 0 on success, and a non-zero value otherwise. The operation succeeds if length bytes are successfully read from the input sequence of the streamBuf without the read position becoming unavailable, and the bytes contain a valid representation of an ISO 8601 date and time zone.
0 on success, and a non-zero value otherwise
| Name | Description |
|---|---|
| value | destination for the decoded value |
| streamBuf | input stream buffer |
| length | number of content octets |