Module java.base
Package java.time

# Class Instant

=
public final class Instant
extends java.lang.Object
implements java.io.Serializable, java.lang.Comparable<java.time.Instant>, java.time.temporal.Temporal, java.time.temporal.TemporalAdjuster

## Fields

- =
  public static final java.time.Instant EPOCH
- =
  public static final java.time.Instant MAX
- =
  public static final java.time.Instant MIN

## Methods

- =
  public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal arg0)
- =
  public java.time.OffsetDateTime atOffset(java.time.ZoneOffset arg0)
- =
  public java.time.ZonedDateTime atZone(java.time.ZoneId arg0)
- =
  public int compareTo(java.time.Instant arg0)
- =
  public boolean equals(java.lang.Object arg0)
- =
  public static java.time.Instant from(java.time.temporal.TemporalAccessor arg0)
- =
  public int get(java.time.temporal.TemporalField arg0)
- =
  public long getEpochSecond()
- =
  public long getLong(java.time.temporal.TemporalField arg0)
- =
  public int getNano()
- =
  public int hashCode()
- =
  public boolean isAfter(java.time.Instant arg0)
- =
  public boolean isBefore(java.time.Instant arg0)
- =
  public boolean isSupported(java.time.temporal.TemporalField arg0)
- =
  public boolean isSupported(java.time.temporal.TemporalUnit arg0)
- =
  public java.time.Instant minus(long arg0, java.time.temporal.TemporalUnit arg1)
- =
  public java.time.Instant minus(java.time.temporal.TemporalAmount arg0)
- =
  public java.time.Instant minusMillis(long arg0)
- =
  public java.time.Instant minusNanos(long arg0)
- =
  public java.time.Instant minusSeconds(long arg0)
- =
  public static java.time.Instant now()
- =
  public static java.time.Instant now(java.time.Clock arg0)
- =
  public static java.time.Instant ofEpochMilli(long arg0)
- =
  public static java.time.Instant ofEpochSecond(long arg0)
- =
  public static java.time.Instant ofEpochSecond(long arg0, long arg1)
- =
  public static java.time.Instant parse(java.lang.CharSequence arg0)
- =
  public java.time.Instant plus(long arg0, java.time.temporal.TemporalUnit arg1)
- =
  public java.time.Instant plus(java.time.temporal.TemporalAmount arg0)
- =
  public java.time.Instant plusMillis(long arg0)
- =
  public java.time.Instant plusNanos(long arg0)
- =
  public java.time.Instant plusSeconds(long arg0)
- =
  public <R> R query(java.time.temporal.TemporalQuery<R> arg0)
- =
  public java.time.temporal.ValueRange range(java.time.temporal.TemporalField arg0)
- =
  public long toEpochMilli()
- =
  public java.lang.String toString()
- =
  public java.time.Instant truncatedTo(java.time.temporal.TemporalUnit arg0)
- =
  public java.time.Duration until(java.time.Instant arg0)
- =
  public long until(java.time.temporal.Temporal arg0, java.time.temporal.TemporalUnit arg1)
- =
  public java.time.Instant with(java.time.temporal.TemporalAdjuster arg0)
- =
  public java.time.Instant with(java.time.temporal.TemporalField arg0, long arg1)

## Serialized Form

=

### serialVersionUID

=-665713676816604388

### Serialized Fields

- =
  int nanos
- =
  long seconds

### Serialization Methods

- =
  private void readObject(java.io.ObjectInputStream arg0) throws java.io.InvalidObjectException
- =
  private java.lang.Object writeReplace()

## Summary

No differences.