BloombergLP::bdlt::EpochUtil::convertFromDatetimeInterval

convertFromDatetimeInterval overloads

Synopses

Declared in <bdlt_epochutil.h>

Return the absolute Datetime for datetimeInterval after the epoch.

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

Load into result the Datetime for datetimeInterval after the epoch.

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

Return Value

the absolute datetime corresponding to datetimeInterval

Parameters

NameDescription
datetimeIntervalinterval from the Unix epoch
resultdestination for the converted datetime