ebeats-0.1.0: Time in ebeats

Safe HaskellSafe-Infered

Data.Time.Ebeats

Synopsis

Documentation

newtype Ebeats Source

Constructors

Ebeats 

data EbeatsTime Source

Constructors

EbeatsTime 

Fields

days :: Integer

Modified Julian Day, but not typed as such so that we can define a different show

ebeats :: Ebeats
 

ebeatsToSecondsSource

Arguments

:: Ebeats 
-> Fixed E2

Number of seconds

secondsToEbeatsSource

Arguments

:: Fixed E2

Number of seconds

-> Ebeats 

diffEbeatsTimeSource

Arguments

:: EbeatsTime 
-> EbeatsTime 
-> Ebeats

Note that Ebeats is being used to measure the difference between EbeatsTimes. ^ diffEbeatsTime a b = a - b -- Like diffUTCTime.

addEbeatsTimeSource

Arguments

:: Ebeats

Note that Ebeats is being used as the measure between EbeatsTimes.

-> EbeatsTime 
-> EbeatsTime 

addEbeatsTime a b = a + b -- Like addUTCTime.