timelike: Type classes for types representing time

[ data, library, system ] [ Propose Tags ]

This library defines a set of type classes for generic time arithmetic. It supports universal time types like UTCTime from the time library as well as physical time types like the ones from clock.

[Skip to Readme]




Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.1.0, 0.2.0, 0.2.1, 0.2.2
Change log CHANGELOG.md
Dependencies base (>=4.8 && <5), transformers (>=0.4 && <1) [details]
License LicenseRef-Apache
Copyright Copyright 2016 Ertugrul Söylemez
Author Ertugrul Söylemez <esz@posteo.de>
Maintainer Ertugrul Söylemez <esz@posteo.de>
Category Data, System
Home page http://hub.darcs.net/esz/timelike
Bug tracker http://hub.darcs.net/esz/timelike/issues
Source repo head: darcs get http://hub.darcs.net/esz/timelike
Uploaded by esz at 2016-04-07T18:36:06Z
Distributions NixOS:0.2.2
Reverse Dependencies 2 direct, 1 indirect [details]
Downloads 2319 total (15 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-04-07 [all 1 reports]

Readme for timelike-0.2.2

[back to package description]

timelike: Time and date arithmetic

Copyright 2016 Ertugrul Söylemez

Licensed under the Apache License, Version 2.0 (the "License"); you may not use these files except in compliance with the License. You may obtain a copy of the License at


Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


This library provides basic time arithmetic like calculating deltas as well as calendar arithmetic like skipping to the beginning of the next Monday. No instances are provided by this library, so you need to use an additional library.