Hello,

I would like to announce the first release of 
Clojure.Joda-Time<https://github.com/dm3/clojure.joda-time> - 
an ambitiously named wrapper for the Joda-Time date and time library.

Main goals of Clojure.Joda-Time:

* Provide a consistent API for common operations with instants, date-times, 
periods, partials and intervals.
* Provide an escape hatch from Joda types to clojure datastructures and 
back where possible.
* Avoid reflective calls (this is a problem, because many types in 
Joda-Time have similar functionality hidden under similarly named and 
overloaded methods with no common interfaces).
* Provide an entry point into Joda-Time by freeing the user from importing 
most of the Joda-Time classes.

Compared to clj-time <https://github.com/clj-time/clj-time>, this library 
is not DateTime-centric. If you tend to use local dates in most of your 
projects, meaning you don't care about time zones, there's no purpose in 
using DateTime at all. You should be using various Partials provided by 
Joda-Time, most common being LocalDate and LocalDateTime. This also means 
that date-times created through Clojure.Joda-Time are not converted to the 
UTC timezone by default, as they are in clj-time.

There's quite a comprehensive README on github: 
https://github.com/dm3/clojure.joda-time
as well as the API-docs: http://dm3.github.io/clojure.joda-time/

This is pretty much an experiment, albeit a very elaborate one (and time 
consuming). Feel free to suggest improvements/rant about deficiencies :)

Fun facts:
* first release may be treated as a Christmas present
* while testing the library with simple-check ~10 bugs were identified 
(most of them already fixed) in the Joda-Time itself
* library contains an implementation partial intervals (e.g. interval of 
LocalDates)

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to