[#BloombergLP-balber-BerUtil_DateAndTimeHeaderImpUtil] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balber.adoc[balber]::BerUtil_DateAndTimeHeaderImpUtil :relfileprefix: ../../ :mrdocs: Utilities for extended‐binary date‐and‐time header encoding. == Synopsis Declared in `<balber_berutil.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct BerUtil_DateAndTimeHeaderImpUtil; ---- == Description This component‐private utility `struct` provides a namespace for a suite of functions used by `BerUtil` to implement encoding and decoding operations for the 2‐byte header of extended‐binary‐encoding formatted date‐and‐time value. == Type Aliases [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/Header.adoc[`Header`] | Alias for the extended‐binary date‐and‐time header class. | xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/StreambufUtil.adoc[`StreambufUtil`] | `StreambufUtil` is an alias to a namespace for a suite of functions used to implement input and output operations on `bsl::streambuf` objects. | xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/TimezoneUtil.adoc[`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. | xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/Type.adoc[`Type`] | Alias for the extended‐binary header type enumeration. |=== == Static Member Functions [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/detectType.adoc[`detectType`] | If the specified `firstByte` of an encoded date‐and‐time value indicates it is in a compact‐binary‐encoding format or an ISO 8601 format, load the value. | xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/detectTypeIfNotReserved.adoc[`detectTypeIfNotReserved`] | If the specified `firstByte` of an encoded date‐and‐time value indicates it is in a compact‐binary‐encoding format or an ISO 8601 format, load the value. | xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/getValue-0d.adoc[`getValue`] | `getValue` overloads | xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/getValueIfNotReserved-09.adoc[`getValueIfNotReserved`] | `getValueIfNotReserved` overloads | xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/isExtendedBinary.adoc[`isExtendedBinary`] | Return `true` if the specified `firstByte` of an encoded date‐and‐time value indicates it is in the extended‐binary‐encoding format, and return `false`. | xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/isExtendedBinaryWithTimezone.adoc[`isExtendedBinaryWithTimezone`] | Return `true` if the specified `firstByte` if an encoded date‐and‐time value indicates is is in the extended‐binary‐encoding format and carries a time‐zone. | xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/isExtendedBinaryWithoutTimezone.adoc[`isExtendedBinaryWithoutTimezone`] | Return `true` if the specified `firstByte` of an encoded date‐and‐time value indicates it is in the extended‐binary‐encoding format and does not carry a. | xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/isReserved.adoc[`isReserved`] | Return `true` if the specified `firstByte` of an encoded date‐and‐time value indicates it is in a format reserved for future use, and return `false` otherwise. | xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/putExtendedBinaryWithTimezoneValue.adoc[`putExtendedBinaryWithTimezoneValue`] | Write a representation of an extended‐binary header value that carries the specified `timezoneOffsetInMinutes` time‐zone offset value to the specified. | xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/putExtendedBinaryWithoutTimezoneValue.adoc[`putExtendedBinaryWithoutTimezoneValue`] | Write a representation of an extended‐binary header value that does not carry a time‐zone offset value to the specified `streamBuf`. |=== == Static Data Members [cols="1,4"] |=== | Name| Description | xref:BloombergLP/balber/BerUtil_DateAndTimeHeaderImpUtil/k_HEADER_LENGTH.adoc[`k_HEADER_LENGTH`] | Number of octets used to encode an extended‐binary‐encoding header. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#