Class TimeZone

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    TimeZone.ZeroTimeZone

    public class TimeZone
    extends java.lang.Object
    implements java.io.Serializable
    simple time zone component.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int minutes
      Deprecated.
      here just for the serialization backward compatibility.
      static java.util.TimeZone MISSING
      The TimeZone representation that corresponds to the missing time zone.
      private static long serialVersionUID  
      static java.util.TimeZone ZERO
      The TimeZone representation that corresponds to the ZERO singleton instance.
    • Constructor Summary

      Constructors 
      Constructor Description
      TimeZone()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      private java.lang.Object readResolve()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • minutes

        public int minutes
        Deprecated.
        here just for the serialization backward compatibility.
        Difference from GMT in terms of minutes.
      • ZERO

        public static final java.util.TimeZone ZERO
        The TimeZone representation that corresponds to the ZERO singleton instance. Once again, using a special instance is a hack to make the round-tripping work OK.
      • MISSING

        public static final java.util.TimeZone MISSING
        The TimeZone representation that corresponds to the missing time zone.
    • Constructor Detail

      • TimeZone

        public TimeZone()
    • Method Detail

      • readResolve

        private java.lang.Object readResolve()