[#BloombergLP-baltzo-LocalDatetime-2constructor-03] = 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. Optionally specify an `allocator` (e.g., the address of a `bslma::Allocator` object) to supply memory; otherwise, the default allocator is used. == Synopsis Declared in `<baltzo_localdatetime.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- LocalDatetime( xref:BloombergLP/baltzo/LocalDatetime.adoc[LocalDatetime] const& original, xref:BloombergLP/baltzo/LocalDatetime/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#