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

GHC 10.0.0.20260917 · lts/ghc-10.0.x · fc4e598 · 2026-10-11

Moduletime-1.16.0.1GHC2021

Data.Time.Clock.TAI

TAI and leap-second maps for converting to UTC: most people won't need this module.

  • 2 types
  • 8 values
  • Packagetime-1.16.0.1
  • Exports10
  • LanguageGHC2021
  • LicenceBSD-2-Clause
  • SourceTAI.hs

Absolute Time

5 declarations
newtypenewtype AbsoluteTime
#

AbsoluteTime is TAI, time as measured by a clock.

Instances6Eq, Data, Ord, Show, NFData, Lift
  • Eq AbsoluteTimeDefined in time-1.16.0.1 · Data.Time.Clock.Internal.AbsoluteTime
  • Data AbsoluteTimeDefined in time-1.16.0.1 · Data.Time.Clock.Internal.AbsoluteTime
  • Ord AbsoluteTimeDefined in time-1.16.0.1 · Data.Time.Clock.Internal.AbsoluteTime
  • Show AbsoluteTimeDefined in time-1.16.0.1 · Data.Time.Clock.TAI · orphan
  • NFData AbsoluteTimeDefined in time-1.16.0.1 · Data.Time.Clock.Internal.AbsoluteTime
  • Lift AbsoluteTimeDefined in time-1.16.0.1 · Data.Time.Clock.Internal.AbsoluteTime

Leap-Second Map

5 declarations
typetype LeapSecondMap = Day -> Maybe Int
#

TAI - UTC during this day. No table is provided, as any program compiled with it would become out of date in six months.

Orphan instances

1 instance