de.bea.domingo.http
Class DominoTimeZone

java.lang.Object
  extended by de.bea.domingo.http.DominoTimeZone

public final class DominoTimeZone
extends java.lang.Object

Enumeration of all possible time zones in Lotus Notes.

Author:
Kurt Riede

Field Summary
static java.lang.String DST_NOT_OBSERVED
          value for field tz_dst for 'dailight saving time not observed'.
static java.lang.String DST_OBSERVED
          value for field tz_dst for 'dailight saving time observed'.
 
Method Summary
 boolean equals(java.lang.Object obj)
          
static DominoTimeZone get(java.lang.String name)
          Returns the time zone value for a given name.
 java.lang.String getName()
          The name of the time zone.
 java.lang.String getTimeZones()
          The value of the time zone.
 java.util.Collection getTimeZoneValues()
          Collection of all time zone values.
 java.lang.String getValue()
          The value of the time zone.
 int hashCode()
          
 boolean isDst()
          Returns whether daylight saving time should be observed.
static DominoTimeZone searchTimeZone(java.lang.String searchString)
          Returns the time zone value for a given search string.
 java.lang.String toString()
          
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

DST_NOT_OBSERVED

public static final java.lang.String DST_NOT_OBSERVED
value for field tz_dst for 'dailight saving time not observed'. TODO is this used somewhere?

See Also:
Constant Field Values

DST_OBSERVED

public static final java.lang.String DST_OBSERVED
value for field tz_dst for 'dailight saving time observed'.

See Also:
Constant Field Values
Method Detail

get

public static DominoTimeZone get(java.lang.String name)
Returns the time zone value for a given name.

Parameters:
name - exact name of a time zone
Returns:
the time zone value

searchTimeZone

public static DominoTimeZone searchTimeZone(java.lang.String searchString)
Returns the time zone value for a given search string.

The search string is simply a partial string of a time zone name.

Parameters:
searchString - search string of a time zone
Returns:
the time zone value or null if not found

isDst

public boolean isDst()
Returns whether daylight saving time should be observed.

Returns:
true if daylight saving time should be observed, else false

getName

public java.lang.String getName()
The name of the time zone.

Returns:
time zone name

getValue

public java.lang.String getValue()
The value of the time zone.

Returns:
the time zone value

getTimeZones

public java.lang.String getTimeZones()
The value of the time zone.

Returns:
time zone value

getTimeZoneValues

public java.util.Collection getTimeZoneValues()
Collection of all time zone values.

Returns:
collection of time zone values

equals

public boolean equals(java.lang.Object obj)

Overrides:
equals in class java.lang.Object
See Also:
Object.equals(java.lang.Object)

hashCode

public int hashCode()

Overrides:
hashCode in class java.lang.Object
See Also:
Object.hashCode()

toString

public java.lang.String toString()

Overrides:
toString in class java.lang.Object
See Also:
Object.toString()


Domingo Java-API