Functions to make getting time offsets more convenient and pretty.
Haskell
Switch branches/tags
Nothing to show
Latest commit 69cd384 Nov 8, 2011 @mike-burns Pass the cabal check
Permalink
Failed to load latest commit information.
Data/Time
.gitignore
LICENSE
README.md
Sample.hs
Setup.hs
timing-convenience.cabal

README.md

timing-convenience

Functions to make it a little more convenient to work with time offsets. Inspired by Ruby's ActiveSupport time methods on Fixnum.

Usage

See the Sample.hs for a more full sample.

main = do
  t <- timeFor 3 Days Ago
  putStrLn $ show t

Installation

In your project's cabal file:

-- Packages needed in order to build this package.
Build-depends:       timing-convenience

Or from the command line:

cabal install timing-convenience

Documentation

For details see the reference documentation on Hackage.

Copyright

Copyright 2011 Mike Burns.

Available under the BSD 3-clause license.