This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-01-08
Channels
- # babashka (1)
- # babashka-sci-dev (27)
- # beginners (13)
- # cljdoc (1)
- # clojure (24)
- # clojure-austin (1)
- # clojurescript (76)
- # data-science (18)
- # datomic (7)
- # java (2)
- # malli (7)
- # nbb (7)
- # off-topic (34)
- # portal (1)
- # reagent (9)
- # reitit (4)
- # releases (2)
- # remote-jobs (1)
- # shadow-cljs (11)
- # squint (7)
- # tools-build (7)
- # uncomplicate (1)
What’s the current recommendation for handling dates in Clojure/Java? I’m looking to handle concepts like “First and 15th of the month” but I don’t care about time zones (thank g*d)
are you looking for something like a cron? something triggering on the 1st and the 15th etc?
nothing with triggering really, i’m just trying to get a handle on my personal finances and want to be able to label expenses as weekly, biweekly, etc
Like @U01KZDMJ411 said, could use https://github.com/dm3/clojure.java-time which wraps java.time
that mentions Java 8 rather prominently and
$ java -version 11:38:32
openjdk version "11.0.8" 2020-07-14
so its intention is that it uses the java.time package introduced in java 8, not that it only runs on java 8.
so min version is java 8, same as clojure 1.10+ 🙂 in general, you would mostly see min java versions in clojure libs, not max