[#BloombergLP-bdlt-DatetimeIntervalUtil]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::DatetimeIntervalUtil
:relfileprefix: ../../
:mrdocs:

This utility `struct` provides a namespace for a suite of functions operating on objects of type `DatetimeInterval`&period;

== Synopsis

Declared in `&lt;bdlt&lowbar;datetimeintervalutil&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
struct DatetimeIntervalUtil;
----

== Static Member Functions

[cols="1,4"]
|===
| Name| Description
| xref:BloombergLP/bdlt/DatetimeIntervalUtil/makeDays.adoc[`makeDays`] 
| Return a `DatetimeInterval` object representing an duration of the specified `days` (exactly)&period;
| xref:BloombergLP/bdlt/DatetimeIntervalUtil/makeHours.adoc[`makeHours`] 
| Return a `DatetimeInterval` object representing an duration of the specified `hours` (exactly)&period;
| xref:BloombergLP/bdlt/DatetimeIntervalUtil/makeMicroseconds.adoc[`makeMicroseconds`] 
| Return a `DatetimeInterval` object representing an duration of the specified `microseconds` (exactly)&period;
| xref:BloombergLP/bdlt/DatetimeIntervalUtil/makeMilliseconds.adoc[`makeMilliseconds`] 
| Return a `DatetimeInterval` object representing an duration of the specified `milliseconds` (exactly)&period;
| xref:BloombergLP/bdlt/DatetimeIntervalUtil/makeMinutes.adoc[`makeMinutes`] 
| Return a `DatetimeInterval` object representing an duration of the specified `minutes` (exactly)&period;
| xref:BloombergLP/bdlt/DatetimeIntervalUtil/makeSeconds.adoc[`makeSeconds`] 
| Return a `DatetimeInterval` object representing an duration of the specified `seconds` (exactly)&period;
|===



[.small]#Created with https://www.mrdocs.com[MrDocs]#
