This utility struct provides functions to convert between time-interval representations.
Declared in <bdlt_intervalconversionutil.h>
struct IntervalConversionUtil;
This utility struct, IntervalConversionUtil, defines functions to convert between bsls::TimeInterval and bdlt::DatetimeInterval representations of time intervals.
| Name | Description |
|---|---|
convertToDatetimeInterval | Return the (approximate) value of interval as a bdlt::DatetimeInterval. |
convertToTimeInterval | Return as a bsls::TimeInterval the value of the specified interval. |