Module time::sys::local_offset_at::imp
source · Expand description
Get the system’s UTC offset on Unix.
Constants§
- Whether the operating system has a thread-safe environment. This allows bypassing the check for if the process is multi-threaded.
Functions§
- Obtain the system’s UTC offset.
- timestamp_to_tm 🔒 ⚠Convert the given Unix timestamp to a
libc::tm
. ReturnsNone
on any error. - Convert a
libc::tm
to aUtcOffset
. ReturnsNone
on any error.