[#BloombergLP-bsls-TimeInterval-addHours] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval]::addHours :relfileprefix: ../../../ :mrdocs: Add to this time interval the number of seconds represented by the specified integral number of `hours`, and return a reference providing modifiable access to this object. The behavior is undefined unless the number of seconds in `hours`, and the total number of seconds in the resulting time interval, can both be represented with 64‐bit signed integers. Note that `hours` may be negative. == Synopsis Declared in `<bsls_timeinterval.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval]& addHours(xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64] hours); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#