I thought there might be a performance reason in there. Thanks for the
pointer to clj-time. Looks like a huge improvement over java date/calendar.

BTW: love the book. Mine is already getting dog eared.

On Apr 21, 2010 8:24 AM, "Stuart Halloway" <stuart.hallo...@gmail.com>
wrote:

The built-in Java comparison operators don't honor Comparable either.  In
Clojure, it's about keeping (pure number) math fast.

If you are doing any nontrivial date work, I recommend you look at clj-time
(http://github.com/clj-sys/clj-time), a Clojure wrapper for Joda Time. Then,
if you really want "<" and ">" to work, you can define them in your own
namespace to wrap clj-time's "after?" and "before?".

Stu

> I've been writing a program that requires the use of java.util.Calendar
> and its descendent java.ut...
> --
> 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<clojure%2bunsubscr...@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 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<clojure%2bunsubscr...@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 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

Reply via email to