3 Replies Latest reply on Dec 19, 2007 5:08 AM by mars1412

    TimeZoneSelector discussion/enhancements

    mars1412 Apprentice

      I would suggest following enhancements to the TimeZoneSelector:


      • initialization:
        it is somewhat strange, that the getTimeZoneId() will return null, while a call to getTimeZone() will return the default timezone wouldn't it be better, to initialize the timezone Id to java.util.TimeZone.getDefault().getID() ?
      • getTimeZones(): a function that can be used for selectItems
        same like the ThemeSelector.getThemes()
        I should return all available timezoneIDs (java.util.TimeZone.getAvailableIDs) sorted alphabetically
        --> here I am not really sure, if it is a good idea to return all of these timezones (there are really a lot of them on my system >500!)

        any comments appreciated