Utilities for BER datetime encoding and decoding.
Declared in <balber_berutil.h>
struct BerUtil_DatetimeImpUtil;
This component-private struct provides a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for date and time values. Within the definition of this struct:
* the specification: > Refers to the August 2015 revision of the ITU-T Recommendation X.690.
* the default set of optionsi: > Refers to a balber::BerEncoderOptions value having a > datetimeFractionalSecondPrecision attribute of 3 and a > encodeDateAndTimeTypesAsBinary attribute of false.
See the package level documentation of {balber} for a definition of the compact and extended binary formats for date and time values.
| Name | Description |
|---|---|
Constants | Constants is an alias to a namespace for a suite of general-purpose constants that occur when encoding or decoding BER data. |
DateAndTimeHeader | Alias for the extended-binary date-and-time header class. |
DateAndTimeHeaderUtil | Alias for extended-binary date-and-time header utilities. |
DateUtil | DateUtil is an alias to a namespace for a suite of functions used to implement BER encoding and decoding operations for date values. |
DatetimeEncoding | DatetimeEncoding is an alias to a namespace for enumerating the set of formats that may be used by BerUtil to encode and decode values of bdlt::Datetime type. |
DatetimeOrDatetimeTz | DatetimeOrDatetimeTz is a convenient alias for bdlb::Variant2<bdlt::Datetime, bdlt::DatetimeTz>. |
DatetimeOrDatetimeTzEncoding | Alias for datetime-or-datetime-tz encoding format enumerations. |
DatetimeTzEncoding | Alias for datetime-tz encoding format enumerations. |
ExtendedBinaryEncodingUtil | Alias for extended-binary encoding decision utilities. |
IntegerUtil | IntegerUtil is an alias to a namespace for a suite of functions used to implement BER encoding and decoding operations for integer values. |
Iso8601Util | Alias for ISO 8601 date and time encoding utilities. |
LengthUtil | LengthUtil is an alias to a namespace for a suite of functions used to implement BER encoding and decoding operations for length quantities. |
StreambufUtil | StreambufUtil is an alias to a namespace for a suite of functions used to implement input and output operations on bsl::streambuf objects. |
StringUtil | StringUtil is an alias to a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for string values. |
TimeUtil | DateUtil is an alias to a namespace for a suite of functions used to implement BER encoding and decoding operations for time values. |
TimezoneUtil | TimezoneUtil is an alias to a namespace for a suite of functions used to implement BER encoding and decoding operations for time-zone offset values. |
| Name | Description |
|---|---|
getDatetimeOrDatetimeTzValue | Write a representation of the specified value date, time, and optional time zone to the output sequence of the specified streamBuf according to the. |
getDatetimeTzValue | Read the specified length number of bytes from the input sequence of the specified streamBuf and load to the specified value the date, time, and time. |
getDatetimeValue | Read the specified length number of bytes from the input sequence of the specified streamBuf and load to the specified value the date and time value. |
putDatetimeTzValue | Write a representation of the specified value date, time, and time zone to the output sequence of the specified streamBuf according to the specified. |
putDatetimeValue | Write a representation of the specified value date and time to the output sequence of the specified streamBuf according to the specified options. |