Sorting TimeZone

D

Dr J R Stockton

In comp.lang.java.programmer message said:
How would you sort timezones?

I am trying to sort them according to their offset from UTC. I cannot
use a TreeMap because there are many timezones with the same offset,
which of course over-writes the previously put timezone.


There are only about 30 Time Zones, since by definition a Time Zone
consists of all places where the local Winter Time has the same
difference from GMT - see a Dictionary, such as
<http://en.wiktionary.org/wiki/time_zone>
<http://www.chambersharrap.co.uk/chambers/features/chref/chref.py/main?t
itle=21st&query=time+zone>
<http://www.merriam-webster.com/dictionary/time+zone>.

Time Zoning is not affected by Summer Time, except in the opinion of the
semi-literates who write operating systems and suchlike.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,049
Latest member
Allen00Reed

Latest Threads

Top