Abubakkar Abubakkar - 2 months ago 18
Java Question

Joda Time DateTimeZone

I was going through TimeZone page at joda website and I came across this

-05:00 EST
-05:00 EST5EDT
-05:00 Etc/GMT+5

I just wanted to know what does that
means, I generally use
so was just wanted to know about it.

I have searched about it and found nothing before posting the question.

Answer Source

EST - eastern Standard Time wihtout day light. EDT - Eastern Standard Time with Day Light Saving Time

This is the short id of TimeZone that is used.

EST5EDT means either in EST or EDT ; value of offset in hours would be the same i.e. -5 hours.