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 alibc::tm
. ReturnsNone
on any error. - Convert a
libc::tm
to aUtcOffset
. ReturnsNone
on any error.