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-compat-1.9.9Haskell2010

Data.Time.Clock.TAI.Compat

  • 2 types
  • 8 values
  • Packagetime-compat-1.9.9
  • Exports10
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceAbsoluteTime.hs

TAI arithmetic

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 type

1 declaration
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.

conversion between UTC and TAI with map

4 declarations