BloombergLP::bdlt::Iso8601Util::generate

Generate the ISO 8601 representation of object into string.

Synopsis

Declared in <bdlt_iso8601util.h>

static
int
generate(
    std::pmr::string* string,
    DatetimeTz const& object);

Description

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

Return Value

number of characters written, or a negative value on error

Parameters

NameDescription
stringreceives the generated ISO 8601 text
objectvalue to format