|
||||||||||
| 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 | |
|---|---|
double |
getDstOffset()
the dstOffset as of first of July of current year |
double |
getGmtOffset()
the gmtOffset as of first of January of current year |
String |
getTimezoneId()
the timezoneId (example : "Pacific/Honolulu") see also TimeZone and
http://www.twinsun.com/tz/tz-link.htm |
void |
setDstOffset(double dstOffset)
|
void |
setGmtOffset(double gmtOffset)
|
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 |
|---|
public double getDstOffset()
public void setDstOffset(double dstOffset)
dstOffset - the dstOffset to setpublic 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 set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||