Combines this instant with an offset to create an OffsetDateTime.
Combines this instant with a time-zone to create a ZonedDateTime.
Compares this instant to the specified instant.
Gets the value of the specified field from this instant as an int.
Gets the value of the specified field from this instant as a long.
Checks if this instant is after the specified instant.
Checks if this instant is before the specified instant.
Checks if the specified field is supported.
Checks if the specified unit is supported.
Returns a copy of this instant with the specified amount subtracted.
Returns a copy of this instant with the specified amount subtracted.
Returns a copy of this instant with the specified amount added.
Returns a copy of this instant with the specified amount added.
Queries this instant using the specified query.
Gets the range of valid values for the specified field.
Returns a copy of this Instant truncated to the specified unit.
Calculates the amount of time until another instant in terms of the specified unit.
Returns an adjusted copy of this instant.
Returns a copy of this instant with the specified field set to a new value.
Static
fromObtains an instance of Instant from a temporal object.
Static
nowStatic
ofStatic
ofObtains an instance of Instant using seconds from the epoch of 1970-01-01T00:00:00Z.
Obtains an instance of Instant using seconds from the epoch of 1970-01-01T00:00:00Z and nanosecond fraction of second.
Static
parseGenerated using TypeDoc
An instantaneous point on the time-line.
See java.time.Instant for full documentation