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. 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‐supplied character buffer or bsl::ostream. The parse methods effect the opposite conversion in that they populate a bdlt object from the result of parsing an ISO 8601 representation.
Synopsis
Declared in <bdlt_iso8601util.h>
struct Iso8601Util;
Type Aliases
Name |
Description |
Alias for |
|
|
|
|
|
Configuration for string generation. |
|
Configuration for string parsing. |
|
|
|
Signed size type used by this component. |
Enums
Name |
Description |
Fixed buffer lengths for ISO 8601 string representations. |
Static Member Functions
Name |
Description |
|
|
|
|
|
|
|
Created with MrDocs