Return the absolute Datetime for datetimeInterval after the epoch.

Synopsis

Declared in <bdlt_epochutil.h>

static
Datetime
convertFromDatetimeInterval(DatetimeInterval const& datetimeInterval);

Description

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.

Return Value

the absolute datetime corresponding to datetimeInterval

Parameters

Name

Description

datetimeInterval

interval from the Unix epoch

Created with MrDocs