[#BloombergLP-bdlt-Iso8601Util-generateRaw-007]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Iso8601Util.adoc[Iso8601Util]::generateRaw
:relfileprefix: ../../../
:mrdocs:

Write the raw ISO 8601 representation of `object` to `buffer`&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;iso8601util&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
int
generateRaw(
    char* buffer,
    xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] const& object);
----

== Description

Optionally specify `configuration` to affect the format of the generated string&period; If `configuration` is not supplied, the process&hyphen;wide default value `Iso8601UtilConfiguration&colon;&colon;defaultConfiguration()` is used&period; Return the number of characters in the formatted string&period; `buffer` is not null terminated&period; The behavior is undefined unless `buffer` has sufficient capacity&period; Note that a buffer of size `k&lowbar;MAX&lowbar;STRLEN &plus; 1` is large enough to hold any string generated by this component (counting a null terminator, if any)&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
