public final class DominoTimeZone extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
DST_NOT_OBSERVED
value for field tz_dst for 'dailight saving time not
observed'.
|
static String |
DST_OBSERVED
value for field tz_dst for 'dailight saving time observed'.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static DominoTimeZone |
get(String name)
Returns the time zone value for a given name.
|
String |
getName()
The name of the time zone.
|
String |
getTimeZones()
The value of the time zone.
|
Collection |
getTimeZoneValues()
Collection of all time zone values.
|
String |
getValue()
The value of the time zone.
|
int |
hashCode() |
boolean |
isDst()
Returns whether daylight saving time should be observed.
|
static DominoTimeZone |
searchTimeZone(String searchString)
Returns the time zone value for a given search string.
|
String |
toString() |
public static final String DST_NOT_OBSERVED
public static final String DST_OBSERVED
public static DominoTimeZone get(String name)
name - exact name of a time zonepublic static DominoTimeZone searchTimeZone(String searchString)
The search string is simply a partial string of a time zone name.
searchString - search string of a time zonenull if not foundpublic boolean isDst()
true if daylight saving time should be observed,
else falsepublic String getName()
public String getValue()
public String getTimeZones()
public Collection getTimeZoneValues()
public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public int hashCode()
hashCode in class ObjectObject.hashCode()public String toString()
toString in class ObjectObject.toString()Copyright © 2005–2020. All rights reserved.