Stellent
HowToComponents
JavaDoc

intradoc.common
Class IdcTimeZone

java.lang.Object
  |
  +--java.util.TimeZone
        |
        +--java.util.SimpleTimeZone
              |
              +--intradoc.common.IdcTimeZone
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

public class IdcTimeZone
extends java.util.SimpleTimeZone

We need our own TimeZone class so we can get at its configuration. SimpleTimeZone doesn't allow us to figure out the DST configuration

See Also:
Serialized Form

Field Summary
protected  java.lang.String m_dstId
           
protected  int[] m_dstInfo
           
protected  int m_offset
           
 
Fields inherited from class java.util.SimpleTimeZone
STANDARD_TIME, UTC_TIME, WALL_TIME
 
Fields inherited from class java.util.TimeZone
LONG, SHORT
 
Constructor Summary
IdcTimeZone(int offset, java.lang.String name)
           
IdcTimeZone(int offset, java.lang.String name, int dst1, int dst2, int dst3, int dst4, int dst5, int dst6, int dst7, int dst8)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDSTID()
           
 void setDSTID(java.lang.String id)
           
 java.lang.String toEncoding()
           
 
Methods inherited from class java.util.SimpleTimeZone
clone, getDSTSavings, getOffset, getOffset, getRawOffset, hashCode, hasSameRules, inDaylightTime, setDSTSavings, setEndRule, setEndRule, setEndRule, setRawOffset, setStartRule, setStartRule, setStartRule, setStartYear, toString, useDaylightTime
 
Methods inherited from class java.util.TimeZone
getAvailableIDs, getAvailableIDs, getDefault, getDisplayName, getDisplayName, getDisplayName, getDisplayName, getID, getTimeZone, setDefault, setID
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

m_offset

protected int m_offset

m_dstInfo

protected int[] m_dstInfo

m_dstId

protected java.lang.String m_dstId
Constructor Detail

IdcTimeZone

public IdcTimeZone(int offset,
                   java.lang.String name)

IdcTimeZone

public IdcTimeZone(int offset,
                   java.lang.String name,
                   int dst1,
                   int dst2,
                   int dst3,
                   int dst4,
                   int dst5,
                   int dst6,
                   int dst7,
                   int dst8)
Method Detail

toEncoding

public java.lang.String toEncoding()

getDSTID

public java.lang.String getDSTID()

setDSTID

public void setDSTID(java.lang.String id)

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.util.SimpleTimeZone


(c) 1996-2005  All rights reserved.  Stellent, Inc.