Function get_global_offset

Source
pub fn get_global_offset() -> Result<UtcOffset>
Expand description

Returns the global offset value if it is initialized, otherwise it returns an error. Unlike the try_set_ functions, this waits for a read lock.