Your best bet for a Clj/Cljs compatible library is `clj-time`. I think in 
the long run `clj-time` will release a version based on Java 8 as more and 
more libraries in the Java ecosystem will provide integration with the 
native Date-Time API. Joda-Time will fade into the past.

Writing a library that uniformly wraps Joda and Java 8 Date-Time API is 
complicated and, in my view, completely useless (I wrote wrappers for both 
so am extensively familiar with their internals).

On Friday, January 15, 2016 at 12:01:08 PM UTC+1, Daniel Compton wrote:
>
> There are few differences between java.time and Joda time for most 
> people's usage (I think), so a wrapper to support both would probably be 
> possible. 
>
>
> http://stackoverflow.com/questions/24631909/differences-between-java-8-date-time-api-java-time-and-joda-time
> On Fri, 15 Jan 2016 at 11:56 PM, Mikera <mike.r.an...@gmail.com 
> <javascript:>> wrote:
>
>> Looks awesome, I'd definitely like to use this whenever I can guarantee 
>> running on Java 8 or above.
>>
>> Question: is there any change of having a unified time API in Clojure? 
>> That supports both Joda time and Java time? And works with cljs? It is a 
>> bit frustrating to have to hard-code to specific time libraries rather 
>> using a good abstraction....
>>
>>
>> On Wednesday, 13 January 2016 20:29:25 UTC+8, platon...@gmail.com wrote:
>>>
>>> Hello all,
>>>
>>> I've released a Java 8 Date-Time API wrapper some time ago but never 
>>> bothered to make a formal announcement. So here it is: 
>>> Clojure.Java-Time. <https://github.com/dm3/clojure.java-time.>
>>> Please, feel free to check out the readme 
>>> <https://github.com/dm3/clojure.java-time/blob/master/README.md> and 
>>> maybe even try using it :)
>>>
>>> Dependency vector: [clojure.java-time "0.2.0"]
>>>
>>> Have fun!
>>>
>> -- 
>> You received this message because you are subscribed to the Google
>> Groups "Clojure" group.
>> To post to this group, send email to clo...@googlegroups.com 
>> <javascript:>
>> Note that posts from new members are moderated - please be patient with 
>> your first post.
>> To unsubscribe from this group, send email to
>> clojure+u...@googlegroups.com <javascript:>
>> 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+u...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
> -- 
> Daniel
>

-- 
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/d/optout.

Reply via email to