convertToTimeInterval overloads
Declared in <bdlt_epochutil.h>
Return, as a bsls::TimeInterval, the relative time computed as the difference between the specified absolute datetime and the epoch.
static
bsls::TimeInterval
convertToTimeInterval(Datetime const& datetime);
» more...
Load into result the interval from the epoch to datetime.
static
int
convertToTimeInterval(
bsls::TimeInterval* result,
Datetime const& datetime);
» more...
datetime| Name | Description |
|---|---|
| datetime | absolute datetime in UTC |
| result | destination for the converted interval |