|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.geonames.Timezone
public class Timezone
gmtOffset and dstOffset are computed on the server with the
TimeZone and included in the web service as not all
geonames users are using java.
| Constructor Summary | |
|---|---|
Timezone()
|
|
| Method Summary | |
|---|---|
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)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Timezone()
| Method Detail |
|---|
@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.htm
public void setTimezoneId(String timezoneId)
timezoneId - the timezoneId to setpublic String getCountryCode()
public void setCountryCode(String countryCode)
countryCode - the countryCode to setpublic Date getTime()
public void setTime(Date time)
time - the time to setpublic Date getSunrise()
public void setSunrise(Date sunrise)
sunrise - the sunrise to setpublic Date getSunset()
public void setSunset(Date sunset)
sunset - the sunset to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||