[#BloombergLP-baltzo-LocalDatetime-2constructor-08] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/baltzo.adoc[baltzo]::xref:BloombergLP/baltzo/LocalDatetime.adoc[LocalDatetime]::LocalDatetime :relfileprefix: ../../../ :mrdocs: Create a `LocalDatetime` object with attribute values set from the specified `datetimeTz` and `timeZoneId`, using the specified `allocator` to supply memory. If `timeZoneId` is passed as a null pointer, it is treated as an empty string. == Synopsis Declared in `<baltzo_localdatetime.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- LocalDatetime( xref:BloombergLP/bdlt/DatetimeTz.adoc[bdlt::DatetimeTz] const& datetimeTz, char const* timeZoneId, xref:BloombergLP/baltzo/LocalDatetime/allocator_type.adoc[allocator_type] const& allocator = allocator_type()); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#