Module java.base
Package java.time

# Class YearMonth

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

## Methods

- =
  public java.time.temporal.Temporal adjustInto(java.time.temporal.Temporal arg0)
- =
  public java.time.LocalDate atDay(int arg0)
- =
  public java.time.LocalDate atEndOfMonth()
- =
  public int compareTo(java.time.YearMonth arg0)
- =
  public boolean equals(java.lang.Object arg0)
- =
  public java.lang.String format(java.time.format.DateTimeFormatter arg0)
- =
  public static java.time.YearMonth from(java.time.temporal.TemporalAccessor arg0)
- =
  public int get(java.time.temporal.TemporalField arg0)
- =
  public long getLong(java.time.temporal.TemporalField arg0)
- =
  public java.time.Month getMonth()
- =
  public int getMonthValue()
- =
  public int getYear()
- =
  public int hashCode()
- =
  public boolean isAfter(java.time.YearMonth arg0)
- =
  public boolean isBefore(java.time.YearMonth arg0)
- =
  public boolean isLeapYear()
- =
  public boolean isSupported(java.time.temporal.TemporalField arg0)
- =
  public boolean isSupported(java.time.temporal.TemporalUnit arg0)
- =
  public boolean isValidDay(int arg0)
- =
  public int lengthOfMonth()
- =
  public int lengthOfYear()
- =
  public java.time.YearMonth minus(long arg0, java.time.temporal.TemporalUnit arg1)
- =
  public java.time.YearMonth minus(java.time.temporal.TemporalAmount arg0)
- =
  public java.time.YearMonth minusMonths(long arg0)
- =
  public java.time.YearMonth minusYears(long arg0)
- =
  public static java.time.YearMonth now()
- =
  public static java.time.YearMonth now(java.time.Clock arg0)
- =
  public static java.time.YearMonth now(java.time.ZoneId arg0)
- =
  public static java.time.YearMonth of(int arg0, int arg1)
- =
  public static java.time.YearMonth of(int arg0, java.time.Month arg1)
- =
  public static java.time.YearMonth parse(java.lang.CharSequence arg0)
- =
  public static java.time.YearMonth parse(java.lang.CharSequence arg0, java.time.format.DateTimeFormatter arg1)
- =
  public java.time.YearMonth plus(long arg0, java.time.temporal.TemporalUnit arg1)
- =
  public java.time.YearMonth plus(java.time.temporal.TemporalAmount arg0)
- =
  public java.time.YearMonth plusMonths(long arg0)
- =
  public java.time.YearMonth 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.YearMonth with(java.time.temporal.TemporalAdjuster arg0)
- =
  public java.time.YearMonth with(java.time.temporal.TemporalField arg0, long arg1)
- =
  public java.time.YearMonth withMonth(int arg0)
- =
  public java.time.YearMonth withYear(int arg0)

## Serialized Form

=

### serialVersionUID

=4183400860270640070

### Serialized Fields

- =
  int month
- =
  int year

### Serialization Methods

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

## Summary

No differences.