On Mon, Aug 10, 2015 at 12:34:33PM +0100, Davide D'Alto wrote:
I'm not sure there is an easy way to convert Instant and DateTime
The problem is that the resolution for temporal types is nanoseconds, the
following datetime is valid:
It gets more complicated when we need to store Offset or time zone.
Why not just call Instant#toEpochMilli. I thought we agreed that for instant
based time we stick to epoch time. There might be a loss in resolution, but
I think this is fine in our case.