An Java Instant is a date time class that represents a time moment on the epoch scale.
long epochSecond = 0;
int nanos = 0;
public static final Instant EPOCH = new Instant(epochSecond , nanos );
Instant instant = Instant.parse("2007-12-03T10:15:30.00Z");
new Date().toInstant()