ZVON > References > Haskell reference
| Indexes | Syntax | Prelude | Ratio | Complex | Numeric | Ix | Array | List | Maybe | Char | Monad | IO | Directory | System | >> Time << | Locale | CPUTime | Random

Module: Time
Datatype: TimeDiff
Description: records the difference between two clock times in a user-readable way
Definition:
data TimeDiff = TimeDiff {
tdYear, tdMonth, tdDay, tdHour, tdMin, tdSec :: Int,
tdPicosec      :: Integer
} deriving (Eq, Ord, Read, Show)
In function types: TimeDiff -> ClockTime -> ClockTime : addToClockTime