An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

herf-time

The herf-time package attempts to make the time package's syntax more straightforward for doing interval math and conversion. It borrows heavily from the syntax of the kerf programming language https://github.com/kevinlawler/kerf . But unlike kerf, there are no promisses of high performance code here. The performance seems adequate for lots of uses though and manipulating time in the herf library is pretty fun. The KerfTime module is self contained and the only dependency is the time package. Add intervals of varying amounts. UTCHerfTime 2016-07-22 03:00:00 UTC Subtract intervals as well UTCHerfTime 2015-06-10 21:00:00 UTC Use the same interval notation for different time representation UTCHerfTime 2016-07-22 04:23:01 UTC 2015-12-31T23:01:01:PST "2016-01-21T11:29:05:CST" 2016-01-21T09:29:05:PST 2016-01-21T23:29:05:+0600 2016-01-21T11:29:05:CST 2016-03-21T11:29:05:CST 2016-03-21T09:29:05:PST

Ecosystem
hackage.haskell.org
Latest Release
0.3.1
almost 6 years ago
Versions
5
Downloads
3,281 total
Links
Registry hackage.haskell.org
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/herf-time
spec
License BSD-3-Clause
First Release about 10 years ago
Last Synced 14 days ago