Hey everyone, 


Java.time is a platform library which was introduced in Java 8 and is a 
refinement of Joda Time (which the popular clj-time sits on).  Now that 
there is also a Javascript implementation of java.time, it has been 
possible to create the following libraries: 


cljc.java-time <https://github.com/henryw374/cljc.java-time>  - this 
mirrors the java.time api directly (it was auto-generated via reflection on 
java.time) but code written with it will compile to Clojure and 
ClojureScript.  

time-literals <https://github.com/henryw374/time-literals>  - also a 
Clojure(Script) library, this provides a set of tagged literals for objects 
from the java.time domain and the relevant readers/printers for these. For 
it's most basic application and if you are only using java.time directly on 
the jvm, this library will be interesting because java.time objects output 
in the REPL can be pasted back in. 


My talk at Clojure/North <https://www.youtube.com/watch?v=UFuL-ZDoB2U>  
provides more background on these and other java.time related libraries.


Thanks,

Henry

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/clojurescript/fc62c82d-c45c-4f06-8cdf-b50caaede6f5%40googlegroups.com.

Reply via email to