Open
Description
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
Activity
devurandom commentedon Dec 18, 2023
Similar for
java-time.api/plus
andjava.sql.Timestamp
, which throwsjava.lang.IllegalArgumentException: No implementation of method: :seq-plus of protocol: #'java-time.core/Plusable found for class: java.sql.Timestamp
.[-]java-time.api/> comparison support for java.sql.Timestamp[/-][+]t/> comparison and t/plus arithmetic support for java.sql.Timestamp[/+]