Time.Offset

lib/Time/Offset.gob

A difference from UTC, to the second: -04:00 for New York in summer. East of Greenwich is positive. Less than 26 hours either way, the range a POSIX time zone rule can state.

type Offset : Ord
fun fromSeconds : fun(Int) -> Option Offset

The offset of n seconds east of UTC, if it is less than 26 hours.

fun toSeconds : fun(Offset) -> Int
let utc : Offset
let min : Offset

The offsets furthest west and east, between which every zone's lie.

let max : Offset
fun parse : fun(String) -> Option Offset

The form show writes, or Z for UTC.

instance Show Offset