Load the ISO 8601 representation of the specified object into the specified string of type bsl::string, std::string, or std::pmr::string. Optionally specify a 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. The previous contents of string (if any) are discarded.
Synopsis
Declared in <bdlt_iso8601util.h>
static
int
generate(
std::pmr::string* string,
bsls::TimeInterval const& object);
Created with MrDocs