Module java.base
Package java.time

# Class Year

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

## Fields

- =
  public static final int MAX_VALUE = 999999999
- =
  public static final int MIN_VALUE = -999999999

## Methods

- =
  public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal arg0)
- =
  public java.time.LocalDate atDay(int arg0)
- =
  public java.time.YearMonth atMonth(int arg0)
- =
  public java.time.YearMonth atMonth(java.time.Month arg0)
- =
  public java.time.LocalDate atMonthDay(java.time.MonthDay arg0)
- =
  public int compareTo(java.time.Year arg0)
- =
  public boolean equals(java.lang.Object arg0)
- =
  public java.lang.String format(java.time.format.DateTimeFormatter arg0)
- =
  public static java.time.Year from(java.time.temporal.TemporalAccessor arg0)
- =
  public int get(java.time.temporal.TemporalField arg0)
- =
  public long getLong(java.time.temporal.TemporalField arg0)
- =
  public int getValue()
- =
  public int hashCode()
- =
  public boolean isAfter(java.time.Year arg0)
- =
  public boolean isBefore(java.time.Year arg0)
- =
  public boolean isLeap()
- =
  public static boolean isLeap(long arg0)
- =
  public boolean isSupported(java.time.temporal.TemporalField arg0)
- =
  public boolean isSupported(java.time.temporal.TemporalUnit arg0)
- =
  public boolean isValidMonthDay(java.time.MonthDay arg0)
- =
  public int length()
- =
  public java.time.Year minus(long arg0, java.time.temporal.TemporalUnit arg1)
- =
  public java.time.Year minus(java.time.temporal.TemporalAmount arg0)
- =
  public java.time.Year minusYears(long arg0)
- =
  public static java.time.Year now()
- =
  public static java.time.Year now(java.time.Clock arg0)
- =
  public static java.time.Year now(java.time.ZoneId arg0)
- =
  public static java.time.Year of(int arg0)
- =
  public static java.time.Year parse(java.lang.CharSequence arg0)
- =
  public static java.time.Year parse(java.lang.CharSequence arg0, java.time.format.DateTimeFormatter arg1)
- =
  public java.time.Year plus(long arg0, java.time.temporal.TemporalUnit arg1)
- =
  public java.time.Year plus(java.time.temporal.TemporalAmount arg0)
- =
  public java.time.Year plusYears(long arg0)
- =
  public <R> R query(java.time.temporal.TemporalQuery<R> arg0)
- =
  public java.time.temporal.ValueRange range(java.time.temporal.TemporalField arg0)
- =
  public java.lang.String toString()
- =
  public long until(java.time.temporal.Temporal arg0, java.time.temporal.TemporalUnit arg1)
- =
  public java.time.Year with(java.time.temporal.TemporalAdjuster arg0)
- =
  public java.time.Year with(java.time.temporal.TemporalField arg0, long arg1)

## Serialized Form

=

### serialVersionUID

=-23038383694477807

### Serialized Fields

- =
  int year

### Serialization Methods

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

## Summary

No differences.