BloombergLP::baltzo::LocalTimeOffsetUtil::loadLocalTimeOffset

Efficiently load to the specified result the offset of the local time from UTC for the specified utcDatetime. This function is thread-safe. The behavior is undefined unless the local time zone has been previously established by a call to the configure method. This method is thread-safe. Note that this function is no longer used as a callback function. It exisis for backwards compatibility with code that called it directly, and is deprecated.

Synopsis

Declared in <baltzo_localtimeoffsetutil.h>

static
void
loadLocalTimeOffset(
    int* result,
    bdlt::Datetime const& utcDatetime);

Description

DEPRECATED: Use localTimeOffset instead.