BloombergLP::bdlt::Iso8601Util::generateRaw

Write an ISO 8601 representation of the specified object into buffer.

Synopsis

Declared in <bdlt_iso8601util.h>

static
int
generateRaw(
    char* buffer,
    DateTz 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