• Post Reply Bookmark Topic Watch Topic
  • New Topic

Need TimeZone data  RSS feed

 
Manish Ramrakhiani
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I need the timezone details of all possible time zones, I need following things.
- TImezone name
- Offset with respect to GMT
- does it support day light saving
- Offset considering if it supports day light savings

I basically need all this informtion and have to create a table in database, i check out Timezone API in jdk
but does not seem to be of help.

Any pointers how do i get it?

Thanks,
Manish Ramrakhiani
 
Sridhar Santhanakrishnan
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Googled it and the first entry gave me this.

http://www.exampledepot.com/egs/java.util/GetAllZones.html



Check it out. Hope it's what you want.


>
 
Manish Ramrakhiani
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Sridhar.

Actually I was searching it If it was possible to get directly through SQL, hence did not pay much attention to get it from java.
However I still need one more detail.

If timezone supports day light saving then what will be the offset while it is enabled?

Thanks again.

Thanks,
Manish Ramrakhiani
 
Manish Ramrakhiani
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any help guys, Need it urgently.

How do I get this detail:
If timezone supports day light saving then what will be the offset while it is enabled?

Thanks,
Manish Ramrakhiani

 
Paul Clapham
Sheriff
Posts: 22816
43
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Manish Ramrakhiani wrote:Any help guys, Need it urgently.


Read this: EaseUp. Really, if it's urgent then instead of waiting for an answer here you could look it up in the API documentation. For which the link is here: TimeZone.
 
Maneesh Godbole
Bartender
Posts: 11445
18
Android Eclipse IDE Google Web Toolkit Java Mac Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Manish Ramrakhiani wrote:Any help guys, Need it urgently.

Dude, EaseUp

Have you looked at the Java API docs for TimeZone? Does it have any method which will return the offset for a particular date? Does it take into account the DST?
Please ShowSomeEffort

PS. Darn. Paul beat me to it while I was searching for those links.
 
Manish Ramrakhiani
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry for the trouble guys,but somehow missed it.

Will take care for sure going forward.
Sorry and thanks again.

Thanks,
Manish Ramrakhiani
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!