convertFromTimeT overloads
Declared in <bdlt_epochutil.h>
Return, as a Datetime, the absolute datetime computed as the sum of the specified relative time and the epoch. The behavior is undefined unless 0 <= time and, for the resultant Datetime dt, 0 == convertToTimeT(&time, dt) (i.e., time is representable as a 32-bit int). Note that the returned value will use Coordinated Universal Time (UTC) as a reference.
static
Datetime
convertFromTimeT(std::time_t time);
» more...
Load into the specified result the absolute datetime converted to a Datetime, computed as the sum of the specified relative time and the epoch. The behavior is undefined unless 0 <= time and 0 == convertToTimeT(&time, *result) (i.e., time is representable as a 32-bit int). Note that result will use Coordinated Universal Time (UTC) as a reference.
static
void
convertFromTimeT(
Datetime* result,
std::time_t time);
» more...