HORIZON HASKELLDocslts/ghc-10.0.x04404a62026-10-19Search packagesCtrl K
Theme: |

GHC 10.0.0.20260917 · lts/ghc-10.0.x · 04404a6 · 2026-10-19

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.

Contents
  1. Absolute Time
  2. Leap-Second Map
Synopsis
  • Packagetime-1.16.0.1
  • Exports10
  • LanguageGHC2021
  • LicenceBSD-2-Clause
  • SourceTAI.hs

Absolute Time

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

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