utc-0.1.0.0: A pragmatic time and date library.

Safe HaskellSafe
LanguageHaskell98

Data.UTC.Type.Local

Synopsis

Documentation

data Local time Source

This type is used to extend UTC time types by a local offset in seconds (positive or negative).

Beware: A local offset is not a time zone. It is just a fix period of time. In contrast to a time zone this does not take summer or winter time into account.

Constructors

Local 

Fields

utc :: time

The time to be interpreted as UTC+00:00 (Western European Time)

offset :: Maybe Rational
Nothing
The local offset is unknown (behaves like Western European Time)
Just 0
UTC+00:00 (Western European Time)
Just 3600
UTC+01:00 (Central European Time)

unknown :: t -> Local t Source