Home Java Javadate Example program to get all the available time zones
Questions:Ask|Latest

 
 

Share on Google+Share on Google+

Example program to get all the available time zones

Advertisement
In this section we show you have to get all the available time zones using java program. This example is very simple java code that will list all the available time zones. We have used the java.util.TimeZone class.

Example program to get all the available time zones

     

In this section we show you have to get all the available time zones using java program. This example is very simple java code that will list all the available time zones. We have used the java.util.TimeZone class. 

For getting all the available time zones we have to use getTimeZone() method of TimeZone class. Since this getTimeZone() method takes time zone Id as parameter for getting time zone we have to use static method getAvailableIDs() .

getAvailableIDs() returns all available time zone IDs in the form of String array. Now according to the IDs we can have the names of all the time zones.Here is the example code of AllTimeZones.java as follows:

AllTimeZones.java

import java.util.TimeZone;

public class AllTimeZones{
  public static void main(String args[]){

  String[] AllID= TimeZone.getAvailableIDs();
  for(int i=0;i<AllID.length;i++)
  {
  System.out.println("TimeZone ["+(i+1)+"] ==>"+
  TimeZone.getTimeZone
(AllID[i]));
  }
  }
}

To run this example create and save AllTimeZones.java and compile it with the javac command and after executing you will get the output like the following:

Output: 

C:\DateExample>java AllTimeZones
TimeZone [1] ==>sun.util.calendar.ZoneInfo[id="Etc/GMT+12",offset=-43200000,
dstSavings=0,useDaylight=false,transitions=0,lastRule=null]
TimeZone [2] ==>sun.util.calendar.ZoneInfo[id="Etc/GMT+11",offset=-39600000,
dstSavings=0,useDaylight=false,transitions=0,lastRule=null]
TimeZone [3] ==>sun.util.calendar.ZoneInfo[id="MIT",offset=-39600000,
dstSavings=0,useDaylight=false,transitions=4,lastRule=null]
TimeZone [4] ==>sun.util.calendar.ZoneInfo[id="Pacific/Apia",offset=-39600000,
dstSavings=0,useDaylight=false,transitions=4,lastRule=null]
TimeZone [5] ==>sun.util.calendar.ZoneInfo[id="Pacific/Midway",offset=-39600000,
dstSavings=0,useDaylight=false,transitions=5,lastRule=null]
....................................
....................................

Here is the list of all the available Time zones ID as follows:

Timezone ID = Etc/GMT+12
Timezone ID = Etc/GMT+11
Timezone ID = MIT
Timezone ID = Pacific/Apia
Timezone ID = Pacific/Midway
Timezone ID = Pacific/Niue
Timezone ID = Pacific/Pago_Pago
Timezone ID = Pacific/Samoa
Timezone ID = US/Samoa
Timezone ID = America/Adak
Timezone ID = America/Atka
Timezone ID = Etc/GMT+10
Timezone ID = HST
Timezone ID = Pacific/Fakaofo
Timezone ID = Pacific/Honolulu
Timezone ID = Pacific/Johnston
Timezone ID = Pacific/Rarotonga
Timezone ID = Pacific/Tahiti
Timezone ID = SystemV/HST10
Timezone ID = US/Aleutian
Timezone ID = US/Hawaii
Timezone ID = Pacific/Marquesas
Timezone ID = AST
Timezone ID = America/Anchorage
Timezone ID = America/Juneau
Timezone ID = America/Nome
Timezone ID = America/Yakutat
Timezone ID = Etc/GMT+9
Timezone ID = Pacific/Gambier
Timezone ID = SystemV/YST9
Timezone ID = SystemV/YST9YDT
Timezone ID = US/Alaska
Timezone ID = America/Dawson
Timezone ID = America/Ensenada
Timezone ID = America/Los_Angeles
Timezone ID = America/Tijuana
Timezone ID = America/Vancouver
Timezone ID = America/Whitehorse
Timezone ID = Canada/Pacific
Timezone ID = Canada/Yukon
Timezone ID = Etc/GMT+8
Timezone ID = Mexico/BajaNorte
Timezone ID = PST
Timezone ID = PST8PDT
Timezone ID = Pacific/Pitcairn
Timezone ID = SystemV/PST8
Timezone ID = SystemV/PST8PDT
Timezone ID = US/Pacific
Timezone ID = US/Pacific-New
Timezone ID = America/Boise
Timezone ID = America/Cambridge_Bay
Timezone ID = America/Chihuahua
Timezone ID = America/Dawson_Creek
Timezone ID = America/Denver
Timezone ID = America/Edmonton
Timezone ID = America/Hermosillo
Timezone ID = America/Inuvik
Timezone ID = America/Mazatlan
Timezone ID = America/Phoenix
Timezone ID = America/Shiprock
Timezone ID = America/Yellowknife
Timezone ID = Canada/Mountain
Timezone ID = Etc/GMT+7
Timezone ID = MST
Timezone ID = MST7MDT
Timezone ID = Mexico/BajaSur
Timezone ID = Navajo
Timezone ID = PNT
Timezone ID = SystemV/MST7
Timezone ID = SystemV/MST7MDT
Timezone ID = US/Arizona
Timezone ID = US/Mountain
Timezone ID = America/Belize
Timezone ID = America/Cancun
Timezone ID = America/Chicago
Timezone ID = America/Costa_Rica
Timezone ID = America/El_Salvador
Timezone ID = America/Guatemala
Timezone ID = America/Indiana/Knox
Timezone ID = America/Indiana/Tell_City
Timezone ID = America/Knox_IN
Timezone ID = America/Managua
Timezone ID = America/Menominee
Timezone ID = America/Merida
Timezone ID = America/Mexico_City
Timezone ID = America/Monterrey
Timezone ID = America/North_Dakota/Center
Timezone ID = America/North_Dakota/New_Salem
Timezone ID = America/Rainy_River
Timezone ID = America/Rankin_Inlet
Timezone ID = America/Regina
Timezone ID = America/Swift_Current
Timezone ID = America/Tegucigalpa
Timezone ID = America/Winnipeg
Timezone ID = CST
Timezone ID = CST6CDT
Timezone ID = Canada/Central
Timezone ID = Canada/East-Saskatchewan
Timezone ID = Canada/Saskatchewan
Timezone ID = Chile/EasterIsland
Timezone ID = Etc/GMT+6
Timezone ID = Mexico/General
Timezone ID = Pacific/Easter
Timezone ID = Pacific/Galapagos
Timezone ID = SystemV/CST6
Timezone ID = SystemV/CST6CDT
Timezone ID = US/Central
Timezone ID = US/Indiana-Starke
Timezone ID = America/Atikokan
Timezone ID = America/Bogota
Timezone ID = America/Cayman
Timezone ID = America/Coral_Harbour
Timezone ID = America/Detroit
Timezone ID = America/Eirunepe
Timezone ID = America/Fort_Wayne
Timezone ID = America/Grand_Turk
Timezone ID = America/Guayaquil
Timezone ID = America/Havana
Timezone ID = America/Indiana/Indianapolis
Timezone ID = America/Indiana/Marengo
Timezone ID = America/Indiana/Vevay
Timezone ID = America/Indiana/Winamac
Timezone ID = America/Indianapolis
Timezone ID = America/Iqaluit
Timezone ID = America/Jamaica
Timezone ID = America/Kentucky/Louisville
Timezone ID = America/Kentucky/Monticello
Timezone ID = America/Lima
Timezone ID = America/Louisville
Timezone ID = America/Montreal
Timezone ID = America/Nassau
Timezone ID = America/New_York
Timezone ID = America/Nipigon
Timezone ID = America/Panama
Timezone ID = America/Pangnirtung
Timezone ID = America/Port-au-Prince
Timezone ID = America/Porto_Acre
Timezone ID = America/Resolute
Timezone ID = America/Rio_Branco
Timezone ID = America/Thunder_Bay
Timezone ID = America/Toronto
Timezone ID = Brazil/Acre
Timezone ID = Canada/Eastern
Timezone ID = Cuba
Timezone ID = EST
Timezone ID = EST5EDT
Timezone ID = Etc/GMT+5
Timezone ID = IET
Timezone ID = Jamaica
Timezone ID = SystemV/EST5
Timezone ID = SystemV/EST5EDT
Timezone ID = US/East-Indiana
Timezone ID = US/Eastern
Timezone ID = US/Michigan
Timezone ID = America/Anguilla
Timezone ID = America/Antigua
Timezone ID = America/Aruba
Timezone ID = America/Asuncion
Timezone ID = America/Barbados
Timezone ID = America/Blanc-Sablon
Timezone ID = America/Boa_Vista
Timezone ID = America/Campo_Grande
Timezone ID = America/Caracas
Timezone ID = America/Cuiaba
Timezone ID = America/Curacao
Timezone ID = America/Dominica
Timezone ID = America/Glace_Bay
Timezone ID = America/Goose_Bay
Timezone ID = America/Grenada
Timezone ID = America/Guadeloupe
Timezone ID = America/Guyana
Timezone ID = America/Halifax
Timezone ID = America/La_Paz
Timezone ID = America/Manaus
Timezone ID = America/Martinique
Timezone ID = America/Moncton
Timezone ID = America/Montserrat
Timezone ID = America/Port_of_Spain
Timezone ID = America/Porto_Velho
Timezone ID = America/Puerto_Rico
Timezone ID = America/Santiago
Timezone ID = America/Santo_Domingo
Timezone ID = America/St_Kitts
Timezone ID = America/St_Lucia
Timezone ID = America/St_Thomas
Timezone ID = America/St_Vincent
Timezone ID = America/Thule
Timezone ID = America/Tortola
Timezone ID = America/Virgin
Timezone ID = Antarctica/Palmer
Timezone ID = Atlantic/Bermuda
Timezone ID = Atlantic/Stanley
Timezone ID = Brazil/West
Timezone ID = Canada/Atlantic
Timezone ID = Chile/Continental
Timezone ID = Etc/GMT+4
Timezone ID = PRT
Timezone ID = SystemV/AST4
Timezone ID = SystemV/AST4ADT
Timezone ID = America/St_Johns
Timezone ID = CNT
Timezone ID = Canada/Newfoundland
Timezone ID = AGT
Timezone ID = America/Araguaina
Timezone ID = America/Argentina/Buenos_Aires
Timezone ID = America/Argentina/Catamarca
Timezone ID = America/Argentina/ComodRivadavia
Timezone ID = America/Argentina/Cordoba
Timezone ID = America/Argentina/Jujuy
Timezone ID = America/Argentina/La_Rioja
Timezone ID = America/Argentina/Mendoza
Timezone ID = America/Argentina/Rio_Gallegos
Timezone ID = America/Argentina/San_Juan
Timezone ID = America/Argentina/Tucuman
Timezone ID = America/Argentina/Ushuaia
Timezone ID = America/Bahia
Timezone ID = America/Belem
Timezone ID = America/Buenos_Aires
Timezone ID = America/Catamarca
Timezone ID = America/Cayenne
Timezone ID = America/Cordoba
Timezone ID = America/Fortaleza
Timezone ID = America/Godthab
Timezone ID = America/Jujuy
Timezone ID = America/Maceio
Timezone ID = America/Mendoza
Timezone ID = America/Miquelon
Timezone ID = America/Montevideo
Timezone ID = America/Paramaribo
Timezone ID = America/Recife
Timezone ID = America/Rosario
Timezone ID = America/Sao_Paulo
Timezone ID = Antarctica/Rothera
Timezone ID = BET
Timezone ID = Brazil/East
Timezone ID = Etc/GMT+3
Timezone ID = America/Noronha
Timezone ID = Atlantic/South_Georgia
Timezone ID = Brazil/DeNoronha
Timezone ID = Etc/GMT+2
Timezone ID = America/Scoresbysund
Timezone ID = Atlantic/Azores
Timezone ID = Atlantic/Cape_Verde
Timezone ID = Etc/GMT+1
Timezone ID = Africa/Abidjan
Timezone ID = Africa/Accra
Timezone ID = Africa/Bamako
Timezone ID = Africa/Banjul
Timezone ID = Africa/Bissau
Timezone ID = Africa/Casablanca
Timezone ID = Africa/Conakry
Timezone ID = Africa/Dakar
Timezone ID = Africa/El_Aaiun
Timezone ID = Africa/Freetown
Timezone ID = Africa/Lome
Timezone ID = Africa/Monrovia
Timezone ID = Africa/Nouakchott
Timezone ID = Africa/Ouagadougou
Timezone ID = Africa/Sao_Tome
Timezone ID = Africa/Timbuktu
Timezone ID = America/Danmarkshavn
Timezone ID = Atlantic/Canary
Timezone ID = Atlantic/Faeroe
Timezone ID = Atlantic/Faroe
Timezone ID = Atlantic/Madeira
Timezone ID = Atlantic/Reykjavik
Timezone ID = Atlantic/St_Helena
Timezone ID = Eire
Timezone ID = Etc/GMT
Timezone ID = Etc/GMT+0
Timezone ID = Etc/GMT-0
Timezone ID = Etc/GMT0
Timezone ID = Etc/Greenwich
Timezone ID = Etc/UCT
Timezone ID = Etc/UTC
Timezone ID = Etc/Universal
Timezone ID = Etc/Zulu
Timezone ID = Europe/Belfast
Timezone ID = Europe/Dublin
Timezone ID = Europe/Guernsey
Timezone ID = Europe/Isle_of_Man
Timezone ID = Europe/Jersey
Timezone ID = Europe/Lisbon
Timezone ID = Europe/London
Timezone ID = GB
Timezone ID = GB-Eire
Timezone ID = GMT
Timezone ID = GMT0
Timezone ID = Greenwich
Timezone ID = Iceland
Timezone ID = Portugal
Timezone ID = UCT
Timezone ID = UTC
Timezone ID = Universal
Timezone ID = WET
Timezone ID = Zulu
Timezone ID = Africa/Algiers
Timezone ID = Africa/Bangui
Timezone ID = Africa/Brazzaville
Timezone ID = Africa/Ceuta
Timezone ID = Africa/Douala
Timezone ID = Africa/Kinshasa
Timezone ID = Africa/Lagos
Timezone ID = Africa/Libreville
Timezone ID = Africa/Luanda
Timezone ID = Africa/Malabo
Timezone ID = Africa/Ndjamena
Timezone ID = Africa/Niamey
Timezone ID = Africa/Porto-Novo
Timezone ID = Africa/Tunis
Timezone ID = Africa/Windhoek
Timezone ID = Arctic/Longyearbyen
Timezone ID = Atlantic/Jan_Mayen
Timezone ID = CET
Timezone ID = ECT
Timezone ID = Etc/GMT-1
Timezone ID = Europe/Amsterdam
Timezone ID = Europe/Andorra
Timezone ID = Europe/Belgrade
Timezone ID = Europe/Berlin
Timezone ID = Europe/Bratislava
Timezone ID = Europe/Brussels
Timezone ID = Europe/Budapest
Timezone ID = Europe/Copenhagen
Timezone ID = Europe/Gibraltar
Timezone ID = Europe/Ljubljana
Timezone ID = Europe/Luxembourg
Timezone ID = Europe/Madrid
Timezone ID = Europe/Malta
Timezone ID = Europe/Monaco
Timezone ID = Europe/Oslo
Timezone ID = Europe/Paris
Timezone ID = Europe/Podgorica
Timezone ID = Europe/Prague
Timezone ID = Europe/Rome
Timezone ID = Europe/San_Marino
Timezone ID = Europe/Sarajevo
Timezone ID = Europe/Skopje
Timezone ID = Europe/Stockholm
Timezone ID = Europe/Tirane
Timezone ID = Europe/Vaduz
Timezone ID = Europe/Vatican
Timezone ID = Europe/Vienna
Timezone ID = Europe/Warsaw
Timezone ID = Europe/Zagreb
Timezone ID = Europe/Zurich
Timezone ID = MET
Timezone ID = Poland
Timezone ID = ART
Timezone ID = Africa/Blantyre
Timezone ID = Africa/Bujumbura
Timezone ID = Africa/Cairo
Timezone ID = Africa/Gaborone
Timezone ID = Africa/Harare
Timezone ID = Africa/Johannesburg
Timezone ID = Africa/Kigali
Timezone ID = Africa/Lubumbashi
Timezone ID = Africa/Lusaka
Timezone ID = Africa/Maputo
Timezone ID = Africa/Maseru
Timezone ID = Africa/Mbabane
Timezone ID = Africa/Tripoli
Timezone ID = Asia/Amman
Timezone ID = Asia/Beirut
Timezone ID = Asia/Damascus
Timezone ID = Asia/Gaza
Timezone ID = Asia/Istanbul
Timezone ID = Asia/Jerusalem
Timezone ID = Asia/Nicosia
Timezone ID = Asia/Tel_Aviv
Timezone ID = CAT
Timezone ID = EET
Timezone ID = Egypt
Timezone ID = Etc/GMT-2
Timezone ID = Europe/Athens
Timezone ID = Europe/Bucharest
Timezone ID = Europe/Chisinau
Timezone ID = Europe/Helsinki
Timezone ID = Europe/Istanbul
Timezone ID = Europe/Kaliningrad
Timezone ID = Europe/Kiev
Timezone ID = Europe/Mariehamn
Timezone ID = Europe/Minsk
Timezone ID = Europe/Nicosia
Timezone ID = Europe/Riga
Timezone ID = Europe/Simferopol
Timezone ID = Europe/Sofia
Timezone ID = Europe/Tallinn
Timezone ID = Europe/Tiraspol
Timezone ID = Europe/Uzhgorod
Timezone ID = Europe/Vilnius
Timezone ID = Europe/Zaporozhye
Timezone ID = Israel
Timezone ID = Libya
Timezone ID = Turkey
Timezone ID = Africa/Addis_Ababa
Timezone ID = Africa/Asmara
Timezone ID = Africa/Asmera
Timezone ID = Africa/Dar_es_Salaam
Timezone ID = Africa/Djibouti
Timezone ID = Africa/Kampala
Timezone ID = Africa/Khartoum
Timezone ID = Africa/Mogadishu
Timezone ID = Africa/Nairobi
Timezone ID = Antarctica/Syowa
Timezone ID = Asia/Aden
Timezone ID = Asia/Baghdad
Timezone ID = Asia/Bahrain
Timezone ID = Asia/Kuwait
Timezone ID = Asia/Qatar
Timezone ID = Asia/Riyadh
Timezone ID = EAT
Timezone ID = Etc/GMT-3
Timezone ID = Europe/Moscow
Timezone ID = Europe/Volgograd
Timezone ID = Indian/Antananarivo
Timezone ID = Indian/Comoro
Timezone ID = Indian/Mayotte
Timezone ID = W-SU
Timezone ID = Asia/Riyadh87
Timezone ID = Asia/Riyadh88
Timezone ID = Asia/Riyadh89
Timezone ID = Mideast/Riyadh87
Timezone ID = Mideast/Riyadh88
Timezone ID = Mideast/Riyadh89
Timezone ID = Asia/Tehran
Timezone ID = Iran
Timezone ID = Asia/Baku
Timezone ID = Asia/Dubai
Timezone ID = Asia/Muscat
Timezone ID = Asia/Tbilisi
Timezone ID = Asia/Yerevan
Timezone ID = Etc/GMT-4
Timezone ID = Europe/Samara
Timezone ID = Indian/Mahe
Timezone ID = Indian/Mauritius
Timezone ID = Indian/Reunion
Timezone ID = NET
Timezone ID = Asia/Kabul
Timezone ID = Asia/Aqtau
Timezone ID = Asia/Aqtobe
Timezone ID = Asia/Ashgabat
Timezone ID = Asia/Ashkhabad
Timezone ID = Asia/Dushanbe
Timezone ID = Asia/Karachi
Timezone ID = Asia/Oral
Timezone ID = Asia/Samarkand
Timezone ID = Asia/Tashkent
Timezone ID = Asia/Yekaterinburg
Timezone ID = Etc/GMT-5
Timezone ID = Indian/Kerguelen
Timezone ID = Indian/Maldives
Timezone ID = PLT
Timezone ID = Asia/Calcutta
Timezone ID = Asia/Colombo
Timezone ID = IST
Timezone ID = Asia/Katmandu
Timezone ID = Antarctica/Mawson
Timezone ID = Antarctica/Vostok
Timezone ID = Asia/Almaty
Timezone ID = Asia/Bishkek
Timezone ID = Asia/Dacca
Timezone ID = Asia/Dhaka
Timezone ID = Asia/Novosibirsk
Timezone ID = Asia/Omsk
Timezone ID = Asia/Qyzylorda
Timezone ID = Asia/Thimbu
Timezone ID = Asia/Thimphu
Timezone ID = BST
Timezone ID = Etc/GMT-6
Timezone ID = Indian/Chagos
Timezone ID = Asia/Rangoon
Timezone ID = Indian/Cocos
Timezone ID = Antarctica/Davis
Timezone ID = Asia/Bangkok
Timezone ID = Asia/Hovd
Timezone ID = Asia/Jakarta
Timezone ID = Asia/Krasnoyarsk
Timezone ID = Asia/Phnom_Penh
Timezone ID = Asia/Pontianak
Timezone ID = Asia/Saigon
Timezone ID = Asia/Vientiane
Timezone ID = Etc/GMT-7
Timezone ID = Indian/Christmas
Timezone ID = VST
Timezone ID = Antarctica/Casey
Timezone ID = Asia/Brunei
Timezone ID = Asia/Chongqing
Timezone ID = Asia/Chungking
Timezone ID = Asia/Harbin
Timezone ID = Asia/Hong_Kong
Timezone ID = Asia/Irkutsk
Timezone ID = Asia/Kashgar
Timezone ID = Asia/Kuala_Lumpur
Timezone ID = Asia/Kuching
Timezone ID = Asia/Macao
Timezone ID = Asia/Macau
Timezone ID = Asia/Makassar
Timezone ID = Asia/Manila
Timezone ID = Asia/Shanghai
Timezone ID = Asia/Singapore
Timezone ID = Asia/Taipei
Timezone ID = Asia/Ujung_Pandang
Timezone ID = Asia/Ulaanbaatar
Timezone ID = Asia/Ulan_Bator
Timezone ID = Asia/Urumqi
Timezone ID = Australia/Perth
Timezone ID = Australia/West
Timezone ID = CTT
Timezone ID = Etc/GMT-8
Timezone ID = Hongkong
Timezone ID = PRC
Timezone ID = Singapore
Timezone ID = Australia/Eucla
Timezone ID = Asia/Choibalsan
Timezone ID = Asia/Dili
Timezone ID = Asia/Jayapura
Timezone ID = Asia/Pyongyang
Timezone ID = Asia/Seoul
Timezone ID = Asia/Tokyo
Timezone ID = Asia/Yakutsk
Timezone ID = Etc/GMT-9
Timezone ID = JST
Timezone ID = Japan
Timezone ID = Pacific/Palau
Timezone ID = ROK
Timezone ID = ACT
Timezone ID = Australia/Adelaide
Timezone ID = Australia/Broken_Hill
Timezone ID = Australia/Darwin
Timezone ID = Australia/North
Timezone ID = Australia/South
Timezone ID = Australia/Yancowinna
Timezone ID = AET
Timezone ID = Antarctica/DumontDUrville
Timezone ID = Asia/Sakhalin
Timezone ID = Asia/Vladivostok
Timezone ID = Australia/ACT
Timezone ID = Australia/Brisbane
Timezone ID = Australia/Canberra
Timezone ID = Australia/Currie
Timezone ID = Australia/Hobart
Timezone ID = Australia/Lindeman
Timezone ID = Australia/Melbourne
Timezone ID = Australia/NSW
Timezone ID = Australia/Queensland
Timezone ID = Australia/Sydney
Timezone ID = Australia/Tasmania
Timezone ID = Australia/Victoria
Timezone ID = Etc/GMT-10
Timezone ID = Pacific/Guam
Timezone ID = Pacific/Port_Moresby
Timezone ID = Pacific/Saipan
Timezone ID = Pacific/Truk
Timezone ID = Pacific/Yap
Timezone ID = Australia/LHI
Timezone ID = Australia/Lord_Howe
Timezone ID = Asia/Magadan
Timezone ID = Etc/GMT-11
Timezone ID = Pacific/Efate
Timezone ID = Pacific/Guadalcanal
Timezone ID = Pacific/Kosrae
Timezone ID = Pacific/Noumea
Timezone ID = Pacific/Ponape
Timezone ID = SST
Timezone ID = Pacific/Norfolk
Timezone ID = Antarctica/McMurdo
Timezone ID = Antarctica/South_Pole
Timezone ID = Asia/Anadyr
Timezone ID = Asia/Kamchatka
Timezone ID = Etc/GMT-12
Timezone ID = Kwajalein
Timezone ID = NST
Timezone ID = NZ
Timezone ID = Pacific/Auckland
Timezone ID = Pacific/Fiji
Timezone ID = Pacific/Funafuti
Timezone ID = Pacific/Kwajalein
Timezone ID = Pacific/Majuro
Timezone ID = Pacific/Nauru
Timezone ID = Pacific/Tarawa
Timezone ID = Pacific/Wake
Timezone ID = Pacific/Wallis
Timezone ID = NZ-CHAT
Timezone ID = Pacific/Chatham
Timezone ID = Etc/GMT-13
Timezone ID = Pacific/Enderbury
Timezone ID = Pacific/Tongatapu
Timezone ID = Etc/GMT-14
Timezone ID = Pacific/Kiritimati
Timezone ID = America/Indiana/Petersburg
Timezone ID = America/Indiana/Vincennes

Download Source Code

Advertisement

If you enjoyed this post then why not add us on Google+? Add us to your Circles



Liked it!  Share this Tutorial


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: October 11, 2008

Related Tutorials

Ask Questions?    Discuss: Example program to get all the available time zones  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments
DMCA.com