BDE 4.14.0 Production release
|
#include <bdlt_datetimeintervalutil.h>
Static Public Member Functions | |
static DatetimeInterval | makeDays (int days) |
static DatetimeInterval | makeHours (bsls::Types::Int64 hours) |
static DatetimeInterval | makeMinutes (bsls::Types::Int64 minutes) |
static DatetimeInterval | makeSeconds (bsls::Types::Int64 seconds) |
static DatetimeInterval | makeMilliseconds (bsls::Types::Int64 milliseconds) |
static DatetimeInterval | makeMicroseconds (bsls::Types::Int64 microseconds) |
This utility struct
provides a namespace for a suite of functions operating on objects of type DatetimeInterval
.
|
inlinestatic |
Return a DatetimeInterval
object representing an duration of the specified days
(exactly).
|
inlinestatic |
Return a DatetimeInterval
object representing an duration of the specified hours
(exactly).
|
inlinestatic |
Return a DatetimeInterval
object representing an duration of the specified microseconds
(exactly).
|
inlinestatic |
Return a DatetimeInterval
object representing an duration of the specified milliseconds
(exactly).
|
inlinestatic |
Return a DatetimeInterval
object representing an duration of the specified minutes
(exactly).
|
inlinestatic |
Return a DatetimeInterval
object representing an duration of the specified seconds
(exactly).