Safe Haskell | None |
---|

# Documentation

fromDouble :: Double -> TSource

Convert fractional number of seconds to `T`

Time must be non-negative.

fromFractional :: RealFrac a => a -> TSource

fromInteger :: Integer -> TSource

Convert number of nanoseconds to `T`

toFractional :: RealFrac a => T -> aSource