Load into result the Datetime for datetimeInterval after the epoch.
Synopsis
Declared in <bdlt_epochutil.h>
static
void
convertFromDatetimeInterval(
Datetime* result,
DatetimeInterval const& datetimeInterval);
Description
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.
Parameters
Name |
Description |
result |
destination for the converted datetime |
datetimeInterval |
interval from the Unix epoch |
Created with MrDocs