Create a LocalDatetime object with attribute values set from the specified datetimeTz and timeZoneId, using the specified allocator to supply memory.
Declared in <baltzo_localdatetime.h>
LocalDatetime(
bdlt::DatetimeTz const& datetimeTz,
char const* timeZoneId,
allocator_type const& allocator = allocator_type());
If timeZoneId is passed as a null pointer, it is treated as an empty string.
| Name | Description |
|---|---|
| datetimeTz | the datetime and UTC offset |
| timeZoneId | the time zone identifier |
| allocator | the allocator used to supply memory |