- ofEpochMilli
Obtains an instance of Instant using milliseconds from the epoch of
1970-01-01T00:00:00Z. The second
- toEpochMilli
Converts this instant to the number of milliseconds from the epoch of
1970-01-01T00:00:00Z. If this
- now
Obtains the current instant from the specified clock. This will query the
specified clock to obtain
- from
Obtains an instance of Instant from a temporal object. A TemporalAccessor
represents some form of da
- plus
- ofEpochSecond
Obtains an instance of Instant using seconds from the epoch of
1970-01-01T00:00:00Z and nanosecond f
- toString
A string representation of this instant using ISO-8601 representation. The
format used is the same a
- getEpochSecond
Gets the number of seconds from the Java epoch of 1970-01-01T00:00:00Z. The
epoch second count is a
- getNano
Gets the number of nanoseconds, later along the time-line, from the start of the
second. The nanosec
- isBefore
Checks if this instant is before the specified instant. The comparison is based
on the time-line pos
- atZone
Combines this instant with a time-zone to create a ZonedDateTime. This returns
an ZonedDateTime form
- compareTo
Compares this instant to the specified instant. The comparison is based on the
time-line position of