[#BloombergLP-bsls-TimeInterval-operator_assign] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval]::operator= :relfileprefix: ../../../ :mrdocs: Assign to this time interval the value of the specified `rhs` real number of seconds, and return a reference providing modifiable access to this object. The fractional part of `rhs`, if any, is rounded to the nearest whole number of nanoseconds. The behavior is undefined unless `rhs` can be converted to a valid `TimeInterval` object. == Synopsis Declared in `<bsls_timeinterval.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bsls/TimeInterval.adoc[TimeInterval]& operator=(double rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#