HORIZON HASKELLDocslts/ghc-10.0.x77a86622026-10-31Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 77a8662 · 2026-10-31

Moduletime-compat-1.9.9Haskell2010

Data.Time.Clock.TAI.Compat

Contents
  1. TAI arithmetic
  2. leap-second map type
  3. conversion between UTC and TAI with map
Synopsis
  • Packagetime-compat-1.9.9
  • Exports10
  • LanguageHaskell2010
  • LicenceBSD-3-Clause
  • SourceAbsoluteTime.hs

TAI arithmetic

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

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