BloombergLP::bdlt::LocalTimeOffset::setLocalTimeOffsetCallback

Set the specified callback as the function to be used to return a bsls::TimeInterval value representing the difference between local time and UTC time at a specified UTC date and time. Return the previously installed LocalTimeOffsetCallback function. The behavior is undefined unless 0 != callback.

Synopsis

Declared in <bdlt_localtimeoffset.h>

static
LocalTimeOffset::LocalTimeOffsetCallback
setLocalTimeOffsetCallback(LocalTimeOffsetCallback callback);