Module java.base
Package java.time

# Class Period

=
public final class Period
extends java.lang.Object
implements java.io.Serializable, java.time.chrono.ChronoPeriod

## Fields

- =
  public static final java.time.Period ZERO

## Methods

- =
  public java.time.temporal.Temporal addTo(java.time.temporal.Temporal arg0)
- =
  public static java.time.Period between(java.time.LocalDate arg0, java.time.LocalDate arg1)
- =
  public boolean equals(java.lang.Object arg0)
- =
  public static java.time.Period from(java.time.temporal.TemporalAmount arg0)
- =
  public long get(java.time.temporal.TemporalUnit arg0)
- =
  public java.time.chrono.IsoChronology getChronology()
- =
  public int getDays()
- =
  public int getMonths()
- =
  public java.util.List<java.time.temporal.TemporalUnit> getUnits()
- =
  public int getYears()
- =
  public int hashCode()
- =
  public boolean isNegative()
- =
  public boolean isZero()
- =
  public java.time.Period minus(java.time.temporal.TemporalAmount arg0)
- =
  public java.time.Period minusDays(long arg0)
- =
  public java.time.Period minusMonths(long arg0)
- =
  public java.time.Period minusYears(long arg0)
- =
  public java.time.Period multipliedBy(int arg0)
- =
  public java.time.Period negated()
- =
  public java.time.Period normalized()
- =
  public static java.time.Period of(int arg0, int arg1, int arg2)
- =
  public static java.time.Period ofDays(int arg0)
- =
  public static java.time.Period ofMonths(int arg0)
- =
  public static java.time.Period ofWeeks(int arg0)
- =
  public static java.time.Period ofYears(int arg0)
- =
  public static java.time.Period parse(java.lang.CharSequence arg0)
- =
  public java.time.Period plus(java.time.temporal.TemporalAmount arg0)
- =
  public java.time.Period plusDays(long arg0)
- =
  public java.time.Period plusMonths(long arg0)
- =
  public java.time.Period plusYears(long arg0)
- =
  public java.time.temporal.Temporal subtractFrom(java.time.temporal.Temporal arg0)
- =
  public java.lang.String toString()
- =
  public long toTotalMonths()
- =
  public java.time.Period withDays(int arg0)
- =
  public java.time.Period withMonths(int arg0)
- =
  public java.time.Period withYears(int arg0)

## Serialized Form

=

### serialVersionUID

=-3587258372562876

### Serialized Fields

- =
  int days
- =
  int months
- =
  int years

### Serialization Methods

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

## Summary

No differences.