BloombergLP::bdlt::Iso8601Util::generateRaw

Write the raw ISO 8601 representation of the specified object to buffer.

Synopsis

Declared in <bdlt_iso8601util.h>

static
int
generateRaw(
    char* buffer,
    TimeTz const& object,
    bool useZAbbreviationForUtc);

Return Value

the number of characters in the formatted string

Parameters

NameDescription
bufferoutput buffer for the generated ISO 8601 text
objectvalue to format
useZAbbreviationForUtcif true, use Z for a UTC offset of zero; otherwise use +00:00