Constructor and Description |
---|
Timezone() |
Modifier and Type | Method and Description |
---|---|
String |
getCountryCode() |
double |
getDstOffset()
Deprecated.
|
double |
getGmtOffset()
Deprecated.
|
Date |
getSunrise() |
Date |
getSunset() |
Date |
getTime() |
String |
getTimezoneId()
the timezoneId (example : "Pacific/Honolulu")
see also
TimeZone and
http://www.twinsun.com/tz/tz-link.htm |
void |
setCountryCode(String countryCode) |
void |
setDstOffset(double dstOffset) |
void |
setGmtOffset(double gmtOffset) |
void |
setSunrise(Date sunrise) |
void |
setSunset(Date sunset) |
void |
setTime(Date time) |
void |
setTimezoneId(String timezoneId) |
public Timezone()
@Deprecated public double getDstOffset()
public void setDstOffset(double dstOffset)
dstOffset
- the dstOffset to set@Deprecated public double getGmtOffset()
public void setGmtOffset(double gmtOffset)
gmtOffset
- the gmtOffset to setpublic String getTimezoneId()
TimeZone
and
http://www.twinsun.com/tz/tz-link.htmpublic void setTimezoneId(String timezoneId)
timezoneId
- the timezoneId to setpublic String getCountryCode()
public void setCountryCode(String countryCode)
countryCode
- the countryCode to setpublic Date getSunrise()
public void setSunrise(Date sunrise)
sunrise
- the sunrise to set