I am allowing users on my web app to schedule events based on time zones of their choice.
I want to present a good list of time zones to the end user and then convert it easily to java.util.TimeZone object at the server end.
String[] TimeZone.getAvailableIds() is something I could use, but the issue is that it prints about 585 time zone ids.
What is the best way to present to the user a brief list of time zones (like a Windows box would for time zone settings) and easily convert to TimeZone object at server end using its id?
The list of timezones is very application and locale specific. Only you know what zones are most applicable to your users. We actually have different lists for different regions.
Here is our list for US users for your reference,