relative-date

Durations and generalized time parsing

Latest on Hackage:0.0.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Sam Anklesaria
Maintained by [email protected]

Relative-date provides two modules. Data.Duration gives functions for the creation of durations of time, represented as functions from DateTime to DateTime. Data.DateTime.Parser presents miscellaneous parsers for handling time descriptions of varying levels of detail. The library also can parse descriptions of repeated times, returning a (possibly infinite) list of DateTimes.