BloombergLP::bdlt::Iso8601Util::generate

Format the specified object into the specified buffer using ISO 8601.

Synopsis

Declared in <bdlt_iso8601util.h>

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

Return Value

the number of characters in the formatted string

Parameters

NameDescription
bufferoutput buffer for the generated ISO 8601 text
bufferLengthcapacity of buffer in bytes
objectvalue to format
configurationformatting configuration