BloombergLP::bdlt::DatetimeIntervalUtil

This utility struct provides a namespace for a suite of functions operating on objects of type DatetimeInterval.

Synopsis

Declared in <bdlt_datetimeintervalutil.h>

struct DatetimeIntervalUtil;

Static Member Functions

NameDescription
makeDays Return a DatetimeInterval object representing an duration of the specified days (exactly).
makeHours Return a DatetimeInterval object representing an duration of the specified hours (exactly).
makeMicroseconds Return a DatetimeInterval object representing an duration of the specified microseconds (exactly).
makeMilliseconds Return a DatetimeInterval object representing an duration of the specified milliseconds (exactly).
makeMinutes Return a DatetimeInterval object representing an duration of the specified minutes (exactly).
makeSeconds Return a DatetimeInterval object representing an duration of the specified seconds (exactly).