[#BloombergLP-bdlt-DatetimeInterval-operator_assign] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlt.adoc[bdlt]::xref:BloombergLP/bdlt/DatetimeInterval.adoc[DatetimeInterval]::operator= :relfileprefix: ../../../ :mrdocs: Assign to this object the value of the specified `rhs` time interval, and return a reference providing modifiable access to this object. == Synopsis Declared in `<bdlt_datetimeinterval.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlt/DatetimeInterval.adoc[DatetimeInterval]& operator=(xref:BloombergLP/bdlt/DatetimeInterval.adoc[DatetimeInterval] const& rhs); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#