Write the raw ISO 8601 representation of object to buffer.

Synopsis

Declared in <bdlt_iso8601util.h>

static
int
generateRaw(
    char* buffer,
    bsls::TimeInterval const& object);

Description

Optionally specify configuration to affect the format of the generated string. If configuration is not supplied, the process‐wide default value Iso8601UtilConfiguration::defaultConfiguration() is used. Return the number of characters in the formatted string. buffer is not null terminated. The behavior is undefined unless buffer has sufficient capacity. Note that a buffer of size k_MAX_STRLEN + 1 is large enough to hold any string generated by this component (counting a null terminator, if any).

Created with MrDocs