Format the specified object into the specified buffer using ISO 8601.
Declared in <bdlt_iso8601util.h>
static
int
generate(
char* buffer,
DatetimeTz const& object,
ssize_t bufferLength,
bool useZAbbreviationForUtc);
the number of characters in the formatted string
| Name | Description |
|---|---|
| buffer | output buffer for the generated ISO 8601 text |
| object | value to format |
| bufferLength | capacity of buffer in bytes |
| useZAbbreviationForUtc | if true, use Z for a UTC offset of zero; otherwise use +00:00 |