[#BloombergLP-baltzo-LocalDatetime-2constructor-0a] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/LocalDatetime.adoc[LocalDatetime]::LocalDatetime :relfileprefix: ../../../ :mrdocs: Create a `LocalDatetime` object having the same value as the specified `original` object, using the specified `allocator` (e.g., the address of a `bslma::Allocator` object) to supply memory. The allocator of `original` remains unchanged. If `original` and the newly created object have the same allocator then the value of `original` becomes unspecified but valid, and no exceptions will be thrown; otherwise `original` is unchanged and an exception may be thrown. == Synopsis Declared in `<baltzo_localdatetime.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- LocalDatetime( xref:BloombergLP/bslmf/MovableRef.adoc[bslmf::MovableRef<LocalDatetime>] original, xref:BloombergLP/baltzo/LocalDatetime/allocator_type.adoc[allocator_type] const& allocator); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#