Write the ISO 8601 representation of the specified object to the specified buffer, using the specified configuration.

Synopsis

Declared in <bdlt_iso8601util.h>

static
int
generate(
    char* buffer,
    ssize_t bufferLength,
    bsls::TimeInterval const& object,
    GenerateConfiguration const& configuration);

Return Value

the number of characters in the formatted string

Parameters

Name

Description

buffer

output buffer for the generated ISO 8601 text

bufferLength

capacity of buffer in bytes

object

value to format

configuration

formatting configuration

Created with MrDocs