format everything with hindent
[packages/time.git] / lib / Data / Time / Clock / Internal / POSIXTime.hs
1 module Data.Time.Clock.Internal.POSIXTime where
2
3 import Data.Time.Clock.Internal.NominalDiffTime
4
5 -- | 86400 nominal seconds in every day
6 posixDayLength :: NominalDiffTime
7 posixDayLength = nominalDay
8
9 -- | POSIX time is the nominal time since 1970-01-01 00:00 UTC
10 --
11 -- To convert from a 'Foreign.C.Types.CTime' or @System.Posix.EpochTime@, use 'realToFrac'.
12 --
13 type POSIXTime = NominalDiffTime