BDE 4.14.0 Production release
Loading...
Searching...
No Matches
bdlt::DatetimeIntervalUtil Struct Reference

#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)
 

Detailed Description

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

Member Function Documentation

◆ makeDays()

DatetimeInterval bdlt::DatetimeIntervalUtil::makeDays ( int  days)
inlinestatic

Return a DatetimeInterval object representing an duration of the specified days (exactly).

◆ makeHours()

DatetimeInterval bdlt::DatetimeIntervalUtil::makeHours ( bsls::Types::Int64  hours)
inlinestatic

Return a DatetimeInterval object representing an duration of the specified hours (exactly).

◆ makeMicroseconds()

DatetimeInterval bdlt::DatetimeIntervalUtil::makeMicroseconds ( bsls::Types::Int64  microseconds)
inlinestatic

Return a DatetimeInterval object representing an duration of the specified microseconds (exactly).

◆ makeMilliseconds()

DatetimeInterval bdlt::DatetimeIntervalUtil::makeMilliseconds ( bsls::Types::Int64  milliseconds)
inlinestatic

Return a DatetimeInterval object representing an duration of the specified milliseconds (exactly).

◆ makeMinutes()

DatetimeInterval bdlt::DatetimeIntervalUtil::makeMinutes ( bsls::Types::Int64  minutes)
inlinestatic

Return a DatetimeInterval object representing an duration of the specified minutes (exactly).

◆ makeSeconds()

DatetimeInterval bdlt::DatetimeIntervalUtil::makeSeconds ( bsls::Types::Int64  seconds)
inlinestatic

Return a DatetimeInterval object representing an duration of the specified seconds (exactly).


The documentation for this struct was generated from the following file: