Utilities for BER date encoding and decoding.
Synopsis
Declared in <balber_berutil.h>
struct BerUtil_DateImpUtil;
Description
This component‐private struct provides a namespace for a suite of functions used by BerUtil to implement BER encoding and decoding operations for date 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 options: > 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.
Type Aliases
Name |
Description |
Alias for extended‐binary date‐and‐time header utilities. |
|
|
|
|
|
Alias for date‐or‐date‐tz encoding format enumerations. |
|
|
|
|
|
Alias for ISO 8601 date and time encoding utilities. |
|
|
|
|
|
|
|
|
Enums
Name |
Description |
Epoch constants for compact‐binary date encoding. |
Static Member Functions
Name |
Description |
Convert a date to days relative to the compact‐binary date epoch. |
|
Load to the specified |
|
Read the specified |
|
Decode a |
|
Decode a |
|
Encode a |
|
Encode a |
Created with MrDocs