Module time::util::local_offset
source · Expand description
Utility functions relating to the local UTC offset.
Enums§
- The soundness of obtaining the local UTC offset.
Statics§
- Whether obtaining the local UTC offset is required to be sound.
Functions§
- Obtains the soundness of obtaining the local UTC offset. If it is
Soundness::Unsound
, it is allowed to invoke undefined behavior when obtaining the local UTC offset. - Set whether obtaining the local UTC offset is allowed to invoke undefined behavior. Use of this function is heavily discouraged.