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