BloombergLP::bdlt::Iso8601Util::generate

Append the ISO 8601 representation of the specified object to string.

Synopsis

Declared in <bdlt_iso8601util.h>

static
int
generate(
    bsl::string* string,
    DatetimeOrDatetimeTz const& object);

Return Value

the number of characters in the formatted string

Parameters

NameDescription
stringreceives the generated ISO 8601 text
objectvalue to format