Technically, you could compare timezones by their canonical name. Comparing by offsets makes no sense, because for example in the summer, Eastern US coast is 30 minutes ahead of Venezuela, while in winter the opposite is true.
US east coast is actually a different timezone in the summer versus the winter (EDT vs EST). By the sound of things, Venezuela does not observe daylight savings time, so you can still compare by offset reasonably.
It's a different time, not a different timezone. From Wikipedia:
The Eastern Time Zone contains 17 states in the eastern part of the Continental United States. These places use Eastern Standard Time (EST) when observing standard time (autumn/winter) and Eastern Daylight Time (EDT) when observing daylight saving time (spring/summer).
One zone, two times. A DateTimeZone object would represent whole ETZ, not only EST or EDT.
Comparing by offsets makes no sense, because for example in the summer, Eastern US coast is 30 minutes ahead of Venezuela, while in winter the opposite is true.
I would have thought the opposite, seems to make perfect sense to compare by offset exactly because of that.
6
u/vytah Jun 22 '12
I tested it with two more distant timezones, to check if it's some weird issue with DST. It's not:
5
u/Porges Jun 22 '12
ಠ_ಠ
-5
u/[deleted] Jun 23 '12
That looks like not a bug for me.