[#BloombergLP-bdlt-Time-addInterval] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/Time.adoc[Time]::addInterval :relfileprefix: ../../../ :mrdocs: Increase this time by `interval`; return midnight‐boundary crossings. == Synopsis Declared in `<bdlt_time.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int addInterval(xref:BloombergLP/bdlt/DatetimeInterval.adoc[DatetimeInterval] const& interval); ---- == Description Increase the value of this time object by the specified `interval` of time, and return the (signed) number of times that the 23:59:59.999999 ‐ 00:00:00.000000 boundary was crossed in performing the operation. The behavior is undefined unless the number of crossings that would be returned can be represented by an `int`. == Return Value the (signed) number of midnight‐boundary crossings == Parameters [cols="1,4"] |=== | Name| Description | *interval* | datetime interval to add |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#