convertFromTimeInterval overloads

Synopses

Declared in <bdlt_epochutil.h>

Return the absolute Datetime for timeInterval after the epoch.

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

Load into result the Datetime for timeInterval after the epoch.

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

Return Value

the absolute datetime corresponding to timeInterval

Parameters

Name

Description

timeInterval

interval from the Unix epoch

result

destination for the converted datetime

Created with MrDocs