Write the ISO 8601 representation of the specified object to the specified buffer, using the specified configuration.
Declared in <bdlt_iso8601util.h>
static
int
generate(
char* buffer,
ssize_t bufferLength,
bsls::TimeInterval const& object,
GenerateConfiguration const& configuration);
the number of characters in the formatted string
| Name | Description |
|---|---|
| buffer | output buffer for the generated ISO 8601 text |
| bufferLength | capacity of buffer in bytes |
| object | value to format |
| configuration | formatting configuration |