Network.Tox.Time
newtype Timestamp Source #
Constructors
Defined in Network.Tox.Time
Methods
(==) :: Timestamp -> Timestamp -> Bool #
(/=) :: Timestamp -> Timestamp -> Bool #
compare :: Timestamp -> Timestamp -> Ordering #
(<) :: Timestamp -> Timestamp -> Bool #
(<=) :: Timestamp -> Timestamp -> Bool #
(>) :: Timestamp -> Timestamp -> Bool #
(>=) :: Timestamp -> Timestamp -> Bool #
max :: Timestamp -> Timestamp -> Timestamp #
min :: Timestamp -> Timestamp -> Timestamp #
readsPrec :: Int -> ReadS Timestamp #
readList :: ReadS [Timestamp] #
readPrec :: ReadPrec Timestamp #
readListPrec :: ReadPrec [Timestamp] #
showsPrec :: Int -> Timestamp -> ShowS #
show :: Timestamp -> String #
showList :: [Timestamp] -> ShowS #
arbitrary :: Gen Timestamp #
shrink :: Timestamp -> [Timestamp] #
newtype TimeDiff Source #
(==) :: TimeDiff -> TimeDiff -> Bool #
(/=) :: TimeDiff -> TimeDiff -> Bool #
(+) :: TimeDiff -> TimeDiff -> TimeDiff #
(-) :: TimeDiff -> TimeDiff -> TimeDiff #
(*) :: TimeDiff -> TimeDiff -> TimeDiff #
negate :: TimeDiff -> TimeDiff #
abs :: TimeDiff -> TimeDiff #
signum :: TimeDiff -> TimeDiff #
fromInteger :: Integer -> TimeDiff #
compare :: TimeDiff -> TimeDiff -> Ordering #
(<) :: TimeDiff -> TimeDiff -> Bool #
(<=) :: TimeDiff -> TimeDiff -> Bool #
(>) :: TimeDiff -> TimeDiff -> Bool #
(>=) :: TimeDiff -> TimeDiff -> Bool #
max :: TimeDiff -> TimeDiff -> TimeDiff #
min :: TimeDiff -> TimeDiff -> TimeDiff #
readsPrec :: Int -> ReadS TimeDiff #
readList :: ReadS [TimeDiff] #
readPrec :: ReadPrec TimeDiff #
readListPrec :: ReadPrec [TimeDiff] #
showsPrec :: Int -> TimeDiff -> ShowS #
show :: TimeDiff -> String #
showList :: [TimeDiff] -> ShowS #
arbitrary :: Gen TimeDiff #
shrink :: TimeDiff -> [TimeDiff] #
seconds :: Integer -> TimeDiff Source #
milliseconds :: Integer -> TimeDiff Source #
getTime :: IO Timestamp Source #
(-) :: Timestamp -> Timestamp -> TimeDiff Source #
(+) :: Timestamp -> TimeDiff -> Timestamp Source #