Module java.base
Package java.util

# Class Date

=
public class Date
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable, java.lang.Comparable<java.util.Date>

## Constructors

- =
  public Date()
- =
  @Deprecated
  public Date(int arg0, int arg1, int arg2)
- =
  @Deprecated
  public Date(int arg0, int arg1, int arg2, int arg3, int arg4)
- =
  @Deprecated
  public Date(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
- =
  public Date(long arg0)
- =
  @Deprecated
  public Date(java.lang.String arg0)

## Methods

- =
  @Deprecated
  public static long UTC(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
- =
  public boolean after(java.util.Date arg0)
- =
  public boolean before(java.util.Date arg0)
- =
  public java.lang.Object clone()
- =
  public int compareTo(java.util.Date arg0)
- =
  public boolean equals(java.lang.Object arg0)
- =
  public static java.util.Date from(java.time.Instant arg0)
- =
  @Deprecated
  public int getDate()
- =
  @Deprecated
  public int getDay()
- =
  @Deprecated
  public int getHours()
- =
  @Deprecated
  public int getMinutes()
- =
  @Deprecated
  public int getMonth()
- =
  @Deprecated
  public int getSeconds()
- =
  public long getTime()
- =
  @Deprecated
  public int getTimezoneOffset()
- =
  @Deprecated
  public int getYear()
- =
  public int hashCode()
- =
  @Deprecated
  public static long parse(java.lang.String arg0)
- =
  @Deprecated
  public void setDate(int arg0)
- =
  @Deprecated
  public void setHours(int arg0)
- =
  @Deprecated
  public void setMinutes(int arg0)
- =
  @Deprecated
  public void setMonth(int arg0)
- =
  @Deprecated
  public void setSeconds(int arg0)
- =
  public void setTime(long arg0)
- =
  @Deprecated
  public void setYear(int arg0)
- =
  @Deprecated
  public java.lang.String toGMTString()
- =
  public java.time.Instant toInstant()
- =
  @Deprecated
  public java.lang.String toLocaleString()
- =
  public java.lang.String toString()

## Serialized Form

=

### serialVersionUID

=7523967970034938905

### Serialization Methods

- =
  private void readObject(java.io.ObjectInputStream arg0) throws java.io.IOException, java.lang.ClassNotFoundException
- =
  private void writeObject(java.io.ObjectOutputStream arg0) throws java.io.IOException

## Summary

No differences.