This struct provides a namespace for datetime encoding constants.

Synopsis

Declared in <bdlt_datetimeimputil.h>

struct DatetimeImpUtil;

Static Member Functions

Name

Description

epoch_0001_01_01

Return a pointer to a bdlt::Datetime with value bdlt::Datetime(1, 1, 1) suitable for use during static initialization.

epoch_1970_01_01

Return a pointer to a bdlt::Datetime with value bdlt::Datetime(1970, 1, 1) suitable for use during static initialization.

epoch_max

Return a pointer to a bdlt::Datetime with value bdlt::Datetime(9999, 12, 31, 24) suitable for use during static initialization.

Static Data Members

Name

Description

k_0001_01_01_VALUE

Serial datetime value for 0001/01/01.

k_1970_01_01_VALUE

Serial datetime value for 1970/01/01.

k_MAX_VALUE

Maximum serial datetime value representable by bdlt::Datetime.

Created with MrDocs