HORIZON HASKELLDocslts/ghc-9.14.x45dd5372026-10-11Search names, modules, packages, or :: a typeCtrl K

GHC 9.14.1 · lts/ghc-9.14.x · 45dd537 · 2026-10-11

Modulethyme-0.4.1Haskell2010

Data.Thyme.LocalTime

Local time and time zones.

  • 8 types
  • 41 values
  • Packagethyme-0.4.1
  • Exports53
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceLocalTime.hs
typetype Hour = Int
#

Hour time-of-day.

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