Add support for LocalDate and ZonedDateTime
SubiyaCryolite opened this issue · 2 comments
SubiyaCryolite commented
Add support for LocalDate and ZonedDateTime.
SubiyaCryolite commented
ZonedDateTime
We will use unix timestamp (long) to store zoned date times across all database implementations.
long unix_timestamp = //timestamp from DB
Instant instant = Instant.ofEpochSecond(unix_timestamp);
ZonedDateTime zonedDateTime = ZonedDateTime.ofInstant( instant, ZoneId.systemDefault());
LocalDate
We will use existing DateTime tables for this operation.
SubiyaCryolite commented
We will also add support for LocalDate and LocalTime in the next release :)