Provide the default local-time-offset callback implementation.
Declared in <bdlt_localtimeoffset.h>
static
bsls::TimeInterval
localTimeOffsetDefault(Datetime const& utcDatetime);
Return a bsls::TimeInterval value representing the difference between local time and UTC time at the specified utcDatetime. Note that the local time zone is determined by the TZ environment variable in the same manner as the localtime POSIX function.
the difference between local time and UTC at utcDatetime
| Name | Description |
|---|---|
| utcDatetime | UTC date and time at which to compute the offset |