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

This `struct` provides a namespace for a suite of pure functions that perform conversions between objects of `bdlt` vocabulary type and their ISO 8601 representations&period; Each `generate` and `generateRaw` method takes a `bdlt` object (of type `Date`, `DateTz`, `Time`, `TimeTz`, `Datetime`, or `DatetimeTz`) and outputs its corresponding ISO 8601 representation to a user&hyphen;supplied character buffer or `bsl&colon;&colon;ostream`&period; The `parse` methods effect the opposite conversion in that they populate a `bdlt` object from the result of parsing an ISO 8601 representation&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct Iso8601Util;
----

== Type Aliases

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/Iso8601Util/Configuration.adoc[`Configuration`] 
| Alias for `Iso8601UtilConfiguration`&period;
| xref:BloombergLP/bdlt/Iso8601Util/DateOrDateTz.adoc[`DateOrDateTz`] 
| `DateOrDateTz` is a convenient alias for `bdlb&colon;&colon;Variant2&lt;Date, DateTz&gt;`&period;
| xref:BloombergLP/bdlt/Iso8601Util/DatetimeOrDatetimeTz.adoc[`DatetimeOrDatetimeTz`] 
| `DatetimeOrDatetimeTz` is a convenient alias for `bdlb&colon;&colon;Variant2&lt;Datetime, DatetimeTz&gt;`&period;
| xref:BloombergLP/bdlt/Iso8601Util/GenerateConfiguration.adoc[`GenerateConfiguration`] 
| Configuration for string generation&period;
| xref:BloombergLP/bdlt/Iso8601Util/ParseConfiguration.adoc[`ParseConfiguration`] 
| Configuration for string parsing&period;
| xref:BloombergLP/bdlt/Iso8601Util/TimeOrTimeTz.adoc[`TimeOrTimeTz`] 
| `TimeOrTimeTz` is a convenient alias for `bdlb&colon;&colon;Variant2&lt;Time, TimeTz&gt;`&period;
| xref:BloombergLP/bdlt/Iso8601Util/ssize_t.adoc[`ssize&lowbar;t`] 
| Signed size type used by this component&period;
|===


== Enums

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/Iso8601Util/_04enum.adoc[`Unnamed enum`] 
| Fixed buffer lengths for ISO 8601 string representations&period;
|===


== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/Iso8601Util/generate-0624.adoc[`generate`] 
| `generate` overloads
| xref:BloombergLP/bdlt/Iso8601Util/generateRaw-0a7.adoc[`generateRaw`] 
| `generateRaw` overloads
| xref:BloombergLP/bdlt/Iso8601Util/parse-08a.adoc[`parse`] 
| `parse` overloads
| xref:BloombergLP/bdlt/Iso8601Util/parseRelaxed-0c.adoc[`parseRelaxed`] 
| `parseRelaxed` overloads
|===



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