List of utility methods to do Instant to
long | toEpochMilli(Instant _instant) Get Instant as elapsed millisecond since Epoch origin return _instant.toEpochMilli();
|
long | toMicros(Instant instant) This method returns the timestamp, associated with the supplied instant, in microseconds. return TimeUnit.SECONDS.toMicros(instant.getEpochSecond())
+ TimeUnit.NANOSECONDS.toMicros(instant.getNano());
|