java.time.Instant support housekeeping
This commit is contained in:
parent
32e4c13ca2
commit
a98b0d8bb1
2 changed files with 4 additions and 3 deletions
|
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
#### New since `v3.0.0`
|
#### New since `v3.0.0`
|
||||||
|
|
||||||
* [#128 #135] Added native `freeze/thaw` support for `java.time.Instant` on JVM 8+ (@cnuernber).
|
* [#135 #128] Added native `freeze/thaw` support for `java.time.Instant` on JVM 8+ (@cnuernber).
|
||||||
|
|
||||||
|
|
||||||
## v3.0.0 / 2020 Sep 20
|
## v3.0.0 / 2020 Sep 20
|
||||||
|
|
|
||||||
|
|
@ -1678,8 +1678,9 @@
|
||||||
(enc/compile-if java.time.Instant
|
(enc/compile-if java.time.Instant
|
||||||
(java.time.Instant/ofEpochSecond (.readLong in) (.readInt in))
|
(java.time.Instant/ofEpochSecond (.readLong in) (.readInt in))
|
||||||
{:nippy/unthawable
|
{:nippy/unthawable
|
||||||
{:type :time-instant
|
{:type :class
|
||||||
:cause :needs-jvm8+
|
:cause :class-not-found
|
||||||
|
|
||||||
:class-name "java.time.Instant"
|
:class-name "java.time.Instant"
|
||||||
:content {:epoch-second (.readLong in) :nano (.readInt in)}}})
|
:content {:epoch-second (.readLong in) :nano (.readInt in)}}})
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue