HORIZON HASKELLDocslts/ghc-9.14.xb9228482026-10-12Search packagesCtrl K
Theme: |

GHC 9.14.1 · lts/ghc-9.14.x · b922848 · 2026-10-12

Moduletime-1.15GHC2021

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.15
  • 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

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