BloombergLP::bdlt::EpochUtil::convertFromTimeInterval

convertFromTimeInterval overloads

Synopses

Declared in <bdlt_epochutil.h>

Return the absolute Datetime for timeInterval after the epoch.

static
Datetime
convertFromTimeInterval(bsls::TimeInterval const& timeInterval);
» more...

Load into result the Datetime for timeInterval after the epoch.

static
void
convertFromTimeInterval(
    Datetime* result,
    bsls::TimeInterval const& timeInterval);
» more...

Return Value

the absolute datetime corresponding to timeInterval

Parameters

NameDescription
timeIntervalinterval from the Unix epoch
resultdestination for the converted datetime