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.

Synopsis

Declared in <bdlt_localtimeoffset.h>

typedef bsls::TimeInterval(* LocalTimeOffsetCallback)(Datetime const&);

Created with MrDocs