distance-of-time-0.1.2.0: Generate readable distances between times.
Data.Time.Distance
data TimeUnit Source #
Constructors
Instances
Methods
showsPrec :: Int -> TimeUnit -> ShowS #
show :: TimeUnit -> String #
showList :: [TimeUnit] -> ShowS #
data TimeDirection Source #
showsPrec :: Int -> TimeDirection -> ShowS #
show :: TimeDirection -> String #
showList :: [TimeDirection] -> ShowS #
distanceOfTime :: UTCTime -> UTCTime -> TimeDifference Source #
distanceOfTimeInWords :: UTCTime -> UTCTime -> String Source #