Set the callback used to retrieve the local time offset.
Declared in <bdlt_localtimeoffset.h>
static
LocalTimeOffset::LocalTimeOffsetCallback
setLocalTimeOffsetCallback(LocalTimeOffsetCallback callback);
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.
the previously installed LocalTimeOffsetCallback function
| Name | Description |
|---|---|
| callback | function used to retrieve the local time offset |