Generate the ISO 8601 representation of object into string.
Declared in <bdlt_iso8601util.h>
static
int
generate(
std::pmr::string* string,
DatetimeTz const& object);
Append the ISO 8601 representation of the specified object to string.
number of characters written, or a negative value on error
| Name | Description |
|---|---|
| string | receives the generated ISO 8601 text |
| object | value to format |