Constructors
Name | Description |
---|---|
SimpleTimeZone(int, String) | Constructs a SimpleTimeZone with the given base time zone offset from GMT and time zone ID. |
SimpleTimeZone(int, String, int, int, int, int, int, int, int, int) | Constructs a SimpleTimeZone with the given base time zone offset from GMT, time zone ID, time to start and end the daylight time. |
Methods
Name | Description |
---|---|
clone() | Overrides Cloneable |
equals(Object) | Compares the equality of two SimpleTimeZone objects. |
getOffset(int, int, int, int, int, int) | Overrides TimeZone Gets offset, for current date, modified in case of daylight savings. |
getRawOffset() | Overrides TimeZone Gets the GMT offset for this time zone. |
hashCode() | Override hashCode. |
inDaylightTime(Date) | Overrides TimeZone Queries if the given date is in Daylight Savings Time. |
setEndRule(int, int, int, int) | Sets the daylight savings ending rule. |
setRawOffset(int) | Overrides TimeZone Sets the base time zone offset to GMT. |
setStartRule(int, int, int, int) | Sets the daylight savings starting rule. |
setStartYear(int) | Sets the daylight savings starting year. |
useDaylightTime() | Overrides TimeZone Queries if this time zone uses Daylight Savings Time. |