convertFromTimeInterval overloads
Declared in <bdlt_epochutil.h>
Return, as a Datetime, the absolute 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.
static
Datetime
convertFromTimeInterval(bsls::TimeInterval const& timeInterval);
» more...
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.
static
void
convertFromTimeInterval(
Datetime* result,
bsls::TimeInterval const& timeInterval);
» more...