mirror of
https://github.com/penpot/penpot.git
synced 2026-09-08 13:09:22 +00:00
✨ Add impl for Inst protocol for FileTime class
This commit is contained in:
parent
283eb0419c
commit
eba2ff7d8d
@ -368,6 +368,9 @@
|
|||||||
Duration
|
Duration
|
||||||
(inst-ms* [v] (.toMillis ^Duration v))
|
(inst-ms* [v] (.toMillis ^Duration v))
|
||||||
|
|
||||||
|
java.nio.file.attribute.FileTime
|
||||||
|
(inst-ms* [v] (.toMillis ^java.nio.file.attribute.FileTime v))
|
||||||
|
|
||||||
OffsetDateTime
|
OffsetDateTime
|
||||||
(inst-ms* [v] (.toEpochMilli (.toInstant ^OffsetDateTime v)))
|
(inst-ms* [v] (.toEpochMilli (.toInstant ^OffsetDateTime v)))
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user