clojure.java-time
clojure.java-time copied to clipboard
t/> comparison and t/plus arithmetic support for java.sql.Timestamp
Would it be possible for java-time.api/> (and similar) to support java.sql.Timestamp?
(require '[java-time.api :as t])
(t/> (t/instant->sql-timestamp (t/instant))
(t/instant))
throws: No implementation of method: :single-after? of protocol: #'java-time.core/Ordered found for class: java.sql.Timestamp
Similar for java-time.api/plus and java.sql.Timestamp, which throws java.lang.IllegalArgumentException: No implementation of method: :seq-plus of protocol: #'java-time.core/Plusable found for class: java.sql.Timestamp.