org.dasein.util
Class TimeZoneWrapper

java.lang.Object
  extended by org.dasein.util.TimeZoneWrapper
All Implemented Interfaces:
Serializable

public class TimeZoneWrapper
extends Object
implements Serializable

See Also:
Serialized Form

Nested Class Summary
static class TimeZoneWrapper.ZoneSorter
           
 
Field Summary
static Set<TimeZone> timeZones
           
 
Constructor Summary
TimeZoneWrapper()
           
TimeZoneWrapper(Locale loc)
           
TimeZoneWrapper(TimeZone zone)
           
TimeZoneWrapper(TimeZone zone, Locale loc)
           
 
Method Summary
static TimeZoneWrapper[] getAllZones(Locale locale)
           
 long getDstSavings()
           
 String getId()
           
 String getLongName()
           
 long getOffset()
           
 String getShortName()
           
 TimeZone getTimeZone()
           
 int hashCode()
           
 boolean isInDaylightTime()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

timeZones

public static final Set<TimeZone> timeZones
Constructor Detail

TimeZoneWrapper

public TimeZoneWrapper()

TimeZoneWrapper

public TimeZoneWrapper(Locale loc)

TimeZoneWrapper

public TimeZoneWrapper(TimeZone zone)

TimeZoneWrapper

public TimeZoneWrapper(TimeZone zone,
                       Locale loc)
Method Detail

getAllZones

public static TimeZoneWrapper[] getAllZones(Locale locale)

getDstSavings

public long getDstSavings()

getId

public String getId()

getLongName

public String getLongName()

getOffset

public long getOffset()

getShortName

public String getShortName()

getTimeZone

public TimeZone getTimeZone()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

isInDaylightTime

public boolean isInDaylightTime()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 enStratus Networks LLC. All Rights Reserved.