This utility struct provides functions to convert between time‐interval representations.

Synopsis

Declared in <bdlt_intervalconversionutil.h>

struct IntervalConversionUtil;

Description

This utility struct, IntervalConversionUtil, defines functions to convert between bsls::TimeInterval and bdlt::DatetimeInterval representations of time intervals.

Static Member Functions

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.

Created with MrDocs