Convert to a bdlt::DatetimeTz result; see the primary convertLocalToLocalTime overload.

Synopsis

Declared in <baltzo_timezoneutil.h>

static
int
convertLocalToLocalTime(
    bdlt::DatetimeTz* result,
    char const* targetTimeZoneId,
    LocalDatetime const& srcTime);

Return Value

0 on success, and a non‐zero value otherwise

Parameters

Name

Description

result

receives the converted local date‐time

targetTimeZoneId

identifier of the destination time zone

srcTime

source local date‐time to convert

Created with MrDocs