TimeZone
Class TimeZone
- java.lang.Object
-
- java.util.TimeZone
- All Implemented Interfaces:
- Serializable, Cloneable
- Direct Known Subclasses:
- SimpleTimeZone
public abstract class TimeZone extends Object implements Serializable, Cloneable
TimeZone
represents a time zone offset, and also figures out daylight savings.
Typically, you get a TimeZone
using getDefault
which creates a TimeZone
based on the time zone where the program is running. For example, for a program running in Japan, getDefault
creates a TimeZo