Callback function type that returns the local time offset from UTC.
Synopsis
Declared in <bdlt_localtimeoffset.h>
typedef bsls::TimeInterval(* LocalTimeOffsetCallback)(Datetime const&);
Description
LocalTimeOffsetCallback is an alias for the type of a function that returns a bsls::TimeInterval value representing the difference between local time and UTC time at the specified utcDatetime. This function must be thread‐safe in multi‐threaded builds. Note that the installed callback function must have geographic information specifying the local timezone.
Created with MrDocs