Load into result the Datetime for timeInterval after the epoch.
Declared in <bdlt_epochutil.h>
static
void
convertFromTimeInterval(
Datetime* result,
bsls::TimeInterval const& timeInterval);
Load into the specified result the absolute datetime converted to a Datetime, computed as the sum of the specified relative timeInterval and the epoch. The behavior is undefined unless the conversion result can be represented as a Datetime. Note that the conversion is potentially lossy as the resolution of bsls::TimeInterval is greater than that of Datetime.
| Name | Description |
|---|---|
| result | destination for the converted datetime |
| timeInterval | interval from the Unix epoch |