<p dir="ltr">Would this package help:</p>
<p dir="ltr"><a href="http://hackage.haskell.org/package/time-interval">http://hackage.haskell.org/package/time-interval</a></p>
<p dir="ltr">?</p>