Java - Instant (Moment)
Table of Contents
About
Time - Moment (Time derivative) in Java
java/time/Instant is a date time class that represent time in the epoch scale.
long epochSecond = 0;
int nanos = 0;
public static final Instant EPOCH = new Instant(epochSecond , nanos );
Articles Related
Management
Set
Instant instant = Instant.parse("2007-12-03T10:15:30.00Z");
Conversion
fromDate
new Date().toInstant()