simple-media-timestamp-0.2.1.0: A very simple timestamp type.
LicenseMIT
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Media.Timestamp

Description

A simple timestamp type.

Synopsis

Documentation

data Time Source #

Timestamp data type.

Since: 0.2.0.0

Constructors

Time 

Fields

Instances

Instances details
Eq Time Source # 
Instance details

Defined in Media.Timestamp

Methods

(==) :: Time -> Time -> Bool #

(/=) :: Time -> Time -> Bool #

Ord Time Source # 
Instance details

Defined in Media.Timestamp

Methods

compare :: Time -> Time -> Ordering #

(<) :: Time -> Time -> Bool #

(<=) :: Time -> Time -> Bool #

(>) :: Time -> Time -> Bool #

(>=) :: Time -> Time -> Bool #

max :: Time -> Time -> Time #

min :: Time -> Time -> Time #

Show Time Source # 
Instance details

Defined in Media.Timestamp

Methods

showsPrec :: Int -> Time -> ShowS #

show :: Time -> String #

showList :: [Time] -> ShowS #

data Range Source #

Interval of two timestamps.

Since: 0.1.0.0

Constructors

Range 

Fields

Instances

Instances details
Eq Range Source # 
Instance details

Defined in Media.Timestamp

Methods

(==) :: Range -> Range -> Bool #

(/=) :: Range -> Range -> Bool #

Ord Range Source # 
Instance details

Defined in Media.Timestamp

Methods

compare :: Range -> Range -> Ordering #

(<) :: Range -> Range -> Bool #

(<=) :: Range -> Range -> Bool #

(>) :: Range -> Range -> Bool #

(>=) :: Range -> Range -> Bool #

max :: Range -> Range -> Range #

min :: Range -> Range -> Range #

Show Range Source # 
Instance details

Defined in Media.Timestamp

Methods

showsPrec :: Int -> Range -> ShowS #

show :: Range -> String #

showList :: [Range] -> ShowS #