set-clock! - sets the mocked clock value to the supplied instant
when-joda-time-loaded - macro which runs code when Joda-Time is on the classpath
instant->sql-timestamp - produce a
java.sql.Timestamp from an Instant-like object
as support for two-field Time entities #21, courtesy Larry Jones
mock-clock - returns a mocked instance of
to-sql-date converts anything convertible to
LocalDate into a
to-sql-date returned a
to-sql-timestamp stopped accepting an instant and starting accepting local date time. I mistakenly assumed that
java.sql.Timestamp/from(Instant) was deprecated.
Please see a new section within README - Legacy Date-Time Types
sql-time - functions which produce the
java.util.* date-time objects.
- #5 automatic conversions:
- Wrong primitive type annotation on
to-millis-from-epoch, see Eastwood docs for the explanation.
- #1: Reflection warnings in two-field time entity constructors
Ordered implementation for
zoned-date-time doesn't accept the zone id as the last argument
offset-date-time/offset-time doesn't accept offset id as the last argument
Edit on GitHub
with-offset-same-instant for offset manipulation
with-zone-same-instant for zone manipulation