BloombergLP::bdlt::EpochUtil::convertFromDatetimeInterval

convertFromDatetimeInterval overloads

Synopses

Declared in <bdlt_epochutil.h>

Return, as a Datetime, the absolute datetime computed as the sum of the specified relative datetimeInterval and the epoch. The behavior is undefined unless the conversion result can be represented as a Datetime.

static
Datetime
convertFromDatetimeInterval(DatetimeInterval const& datetimeInterval);
» more...

Load into the specified result the absolute datetime converted to a Datetime, computed as the sum of the specified relative datetimeInterval and the epoch. The behavior is undefined unless the conversion result can be represented as a Datetime.

static
void
convertFromDatetimeInterval(
    Datetime* result,
    DatetimeInterval const& datetimeInterval);
» more...