Create a LocalDatetime object with attribute values set from the specified datetimeTz and timeZoneId, using the specified allocator to supply memory.

Synopsis

Declared in <baltzo_localdatetime.h>

LocalDatetime(
    bdlt::DatetimeTz const& datetimeTz,
    char const* timeZoneId,
    allocator_type const& allocator = allocator_type());

Description

If timeZoneId is passed as a null pointer, it is treated as an empty string.

Parameters

Name

Description

datetimeTz

the datetime and UTC offset

timeZoneId

the time zone identifier

allocator

the allocator used to supply memory

Created with MrDocs