BloombergLP::bdlt::Iso8601Util::generate

Write the ISO 8601 representation of the specified object to stream.

Synopsis

Declared in <bdlt_iso8601util.h>

static
std::ostream&
generate(
    std::ostream& stream,
    DateTz const& object,
    bool useZAbbreviationForUtc);

Return Value

a reference to stream

Parameters

NameDescription
streamoutput stream
objectvalue to format
useZAbbreviationForUtcif true, use Z for a UTC offset of zero; otherwise use +00:00