Module java.base
Package java.util

# Class TimeZone

=
public abstract class TimeZone
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

## Fields

- =
  public static final int LONG = 1
- =
  public static final int SHORT = 0

## Constructors

- =
  public TimeZone()

## Methods

- =
  public java.lang.Object clone()
- =
  public static java.lang.String[] getAvailableIDs()
- =
  public static java.lang.String[] getAvailableIDs(int arg0)
- =
  public int getDSTSavings()
- =
  public static java.util.TimeZone getDefault()
- =
  public final java.lang.String getDisplayName()
- =
  public final java.lang.String getDisplayName(boolean arg0, int arg1)
- =
  public java.lang.String getDisplayName(boolean arg0, int arg1, java.util.Locale arg2)
- =
  public final java.lang.String getDisplayName(java.util.Locale arg0)
- =
  public java.lang.String getID()
- =
  public abstract int getOffset(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5)
- =
  public int getOffset(long arg0)
- =
  public abstract int getRawOffset()
- =
  public static java.util.TimeZone getTimeZone(java.lang.String arg0)
- =
  public static java.util.TimeZone getTimeZone(java.time.ZoneId arg0)
- =
  public boolean hasSameRules(java.util.TimeZone arg0)
- =
  public abstract boolean inDaylightTime(java.util.Date arg0)
- =
  public boolean observesDaylightTime()
- =
  public static void setDefault(java.util.TimeZone arg0)
- =
  public void setID(java.lang.String arg0)
- =
  public abstract void setRawOffset(int arg0)
- =
  public java.time.ZoneId toZoneId()
- =
  public abstract boolean useDaylightTime()

## Serialized Form

=

### serialVersionUID

=3581463369166924961

### Serialized Fields

- =
  java.lang.String ID

## Summary

No differences.