Skip to content

flaviorighi/Java-Time-Zone-List

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Provides a list of Windows time zones (the zones in the time zone selection dialog in Windows), and their associated Java TimeZone objects. Data was obtained from the CLDR (http://unicode.org/repos/cldr/trunk/common/supplemental/windowsZones.xml).

Contains a list of mappings in the following form:

ZONEMAPPINGS.add(new TimeZoneMapping("W. Europe Standard Time", "Europe/Berlin", "(GMT +01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna"));
ZONEMAPPINGS.add(new TimeZoneMapping("Pacific Standard Time", "America/Los_Angeles", "(GMT -08:00) Pacific Time (US & Canada)"));

Where the first parameter is the "Windows standard name", the second parameter is the "Olson name" (this is what is used by Java as a time zone's identifier), and the third parameter is the "Windows display name" (this is what is displayed by Windows in the time zone selection dialog).

About

Provides a list of time zones in Java, suitable for displaying in user interfaces. This is a smaller set of time zones than those installed with Java, and is almost identical to the list of time zones provided with Windows.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%