{-# LANGUAGE Safe #-}

module Data.Time.Clock.Internal.POSIXTime where

import Data.Time.Clock.Internal.NominalDiffTime

-- | 86400 nominal seconds in every day
posixDayLength :: NominalDiffTime
posixDayLength :: NominalDiffTime
posixDayLength = NominalDiffTime
nominalDay

-- | POSIX time is the nominal time since 1970-01-01 00:00 UTC
--
-- To convert from a 'Foreign.C.Types.CTime' or @System.Posix.EpochTime@, use 'realToFrac'.
--
type POSIXTime = NominalDiffTime