[#BloombergLP-baltzo-LocalDatetime-operator_assign-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/LocalDatetime.adoc[LocalDatetime]::operator= :relfileprefix: ../../../ :mrdocs: Assignment operators == Synopses Declared in `<baltzo_localdatetime.h>` Assign to this object the value of the specified `rhs` object, and return a reference providing modifiable access to this object. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/baltzo/LocalDatetime.adoc[LocalDatetime]& xref:BloombergLP/baltzo/LocalDatetime/operator_assign-06.adoc[operator=](xref:BloombergLP/baltzo/LocalDatetime.adoc[LocalDatetime] const& rhs); ---- [.small]#xref:BloombergLP/baltzo/LocalDatetime/operator_assign-06.adoc[_» more..._]# Assign to this object the value of the specified `rhs` object, and return a non‐`const` reference to this object. The allocators of this object and `rhs` both remain unchanged. If `rhs` and this object have the same allocator then the value of `rhs` becomes unspecified but valid, and no exceptions will be thrown; otherwise `rhs` is unchanged (and an exception may be thrown). [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/baltzo/LocalDatetime.adoc[LocalDatetime]& xref:BloombergLP/baltzo/LocalDatetime/operator_assign-0e.adoc[operator=](xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<LocalDatetime>] rhs); ---- [.small]#xref:BloombergLP/baltzo/LocalDatetime/operator_assign-0e.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#