|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.wewebu.ow.server.util.OwTimeZoneInfo
public class OwTimeZoneInfo
Time Zone information (UTC offset , hemisphere location , daylight savings) used to select or guess a corresponding time zone.
Alfresco Workdesk
Copyright (c) Alfresco Software, Inc.
All rights reserved.
For licensing information read the license.txt file or
go to: http://wiki.alfresco.com
Constructor Summary | |
---|---|
OwTimeZoneInfo()
Constructor Based on current time zone information. |
|
OwTimeZoneInfo(Date reference_p,
TimeZone timeZone_p)
Constructor |
|
OwTimeZoneInfo(long date_p,
int offset_p,
boolean observesDaylightSavings_p,
Long[] transitions_p,
boolean northernHemisphere_p)
Constructor |
|
OwTimeZoneInfo(TimeZone timeZone_p)
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
static Set<Long> |
findDSTTransitions(TimeZone zone_p)
|
static Set<Long> |
getDSTTrasitions()
|
int |
getOffset()
|
TimeZone |
getTimeZone()
|
static Set<Long> |
getZoneDSTTransitions(String timeZoneID_p)
|
int |
hashCode()
|
boolean |
isNorthernHemisphere()
|
boolean |
isObservesDaylightSavings()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OwTimeZoneInfo()
public OwTimeZoneInfo(TimeZone timeZone_p)
public OwTimeZoneInfo(Date reference_p, TimeZone timeZone_p)
timeZone_p
- time zone used to extract the informationpublic OwTimeZoneInfo(long date_p, int offset_p, boolean observesDaylightSavings_p, Long[] transitions_p, boolean northernHemisphere_p)
date_p
- January 1, 1970, 00:00:00 relative time of this information objectoffset_p
- offset of this time zone from UTC at the specified date (date_p)observesDaylightSavings_p
- true if the time zone indicated by this object observes daylight savingstransitions_p
- long UTC time-stamps of daylight savings transition daysnorthernHemisphere_p
- true if the time zone indicated by this object is located in the northern hemisphereMethod Detail |
---|
public static Set<Long> findDSTTransitions(TimeZone zone_p)
public static Set<Long> getZoneDSTTransitions(String timeZoneID_p)
timeZoneID_p
- a time zone id as defined by TimeZone.getAvailableIDs()
public static Set<Long> getDSTTrasitions()
TimeZone
public TimeZone getTimeZone()
public boolean isNorthernHemisphere()
public int getOffset()
public boolean isObservesDaylightSavings()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |