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

Name

Description

string

receives the generated ISO 8601 text

object

value to format

Created with MrDocs