HORIZON HASKELLDocslts/ghc-9.14.x7a6c33e2026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · 7a6c33e · 2026-10-12

  • Packagethyme-0.4.1
  • Exports53
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceLocalTime.hs
datadata LocalTime

Local calendar date and time-of-day.

This type is appropriate for inputting from and outputting to the outside world.

To actually perform logic and arithmetic on local date-times, a LocalTime should first be converted to a UTCTime by the utcLocalTime Iso.

See also: ZonedTime.

Constructors

Instances21Bounded, Eq, Data, Ord, Read, Show, …
datadata TimeOfDay

Time of day in hour, minute, second.

Constructors

Instances21Bounded, Eq, Data, Ord, Read, Show, …
datadata TimeZone

Description of one time zone.

A TimeZone is a whole number of minutes offset from UTC, together with a name and a ‘summer time’ flag.

Constructors

Instances15Bounded, Eq, Data, Ord, Show, Generic, …
datadata ZonedTime

A LocalTime and its TimeZone.

This type is appropriate for inputting from and outputting to the outside world.

To actually perform logic and arithmetic on local date-times, a ZonedTime should first be converted to a UTCTime by the zonedTime Iso.

Instances18Bounded, Eq, Data, Ord, Read, Show, …

Orphan instances

1 instance