thyme-0.4: A faster time library
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Thyme.Time

Description

This module provides Num, Real, Fractional, and RealFrac instances for DiffTime and NominalDiffTime.

Documentation

Orphan instances

Num DiffTime Source # 
Instance details

Num NominalDiffTime Source # 
Instance details

Num Micro Source # 
Instance details

Fractional DiffTime Source # 
Instance details

Fractional NominalDiffTime Source # 
Instance details

Fractional Micro Source # 
Instance details

Real DiffTime Source # 
Instance details

Real NominalDiffTime Source # 
Instance details

Real Micro Source # 
Instance details

Methods

toRational :: Micro -> Rational #

RealFrac DiffTime Source # 
Instance details

Methods

properFraction :: Integral b => DiffTime -> (b, DiffTime) #

truncate :: Integral b => DiffTime -> b #

round :: Integral b => DiffTime -> b #

ceiling :: Integral b => DiffTime -> b #

floor :: Integral b => DiffTime -> b #

RealFrac NominalDiffTime Source # 
Instance details

RealFrac Micro Source # 
Instance details

Methods

properFraction :: Integral b => Micro -> (b, Micro) #

truncate :: Integral b => Micro -> b #

round :: Integral b => Micro -> b #

ceiling :: Integral b => Micro -> b #

floor :: Integral b => Micro -> b #