Provide a namespace for local-time-offset procedures.
Declared in <bdlt_localtimeoffset.h>
struct LocalTimeOffset;
This struct provides a namespace for local-time-offset procedures including a configurable global callback mechanism. The use of these procedures is thread-safe (see Thread Safety).
| Name | Description |
|---|---|
LocalTimeOffsetCallback | Callback function type that returns the local time offset from UTC. |
| Name | Description |
|---|---|
localTimeOffset | Return the local time offset from UTC at the specified date and time. |
localTimeOffsetCallback | Return the currently installed LocalTimeOffsetCallback function. |
localTimeOffsetDefault | Provide the default local-time-offset callback implementation. |
setLocalTimeOffsetCallback | Set the callback used to retrieve the local time offset. |