Documentation
¶
Overview ¶
Package tzloc generate the full list of location enumeration of IANA timezone database. The data source is from Go standard library lib/time/zoneinfo.zip
You can also check the list from wikipedia: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
Due to the variable database, the Go team seems not likely to add the enum to the standard library for keeping backward compatibility. You can see the discussion on this issue: https://github.com/golang/go/issues/36278
Index ¶
Constants ¶
View Source
const ( Africa_Nairobi = "Africa/Nairobi" Africa_Freetown = "Africa/Freetown" Africa_Ceuta = "Africa/Ceuta" Africa_Asmera = "Africa/Asmera" Africa_Luanda = "Africa/Luanda" Africa_Juba = "Africa/Juba" Africa_Johannesburg = "Africa/Johannesburg" Africa_Bujumbura = "Africa/Bujumbura" Africa_Cairo = "Africa/Cairo" Africa_Khartoum = "Africa/Khartoum" Africa_Mbabane = "Africa/Mbabane" Africa_El_Aaiun = "Africa/El_Aaiun" Africa_Monrovia = "Africa/Monrovia" Africa_Lusaka = "Africa/Lusaka" Africa_Bamako = "Africa/Bamako" Africa_Niamey = "Africa/Niamey" Africa_Kigali = "Africa/Kigali" Africa_Bissau = "Africa/Bissau" Africa_Kinshasa = "Africa/Kinshasa" Africa_Addis_Ababa = "Africa/Addis_Ababa" Africa_Tunis = "Africa/Tunis" Africa_Banjul = "Africa/Banjul" Africa_Ouagadougou = "Africa/Ouagadougou" Africa_Libreville = "Africa/Libreville" Africa_Brazzaville = "Africa/Brazzaville" Africa_Bangui = "Africa/Bangui" Africa_Abidjan = "Africa/Abidjan" Africa_Algiers = "Africa/Algiers" Africa_Nouakchott = "Africa/Nouakchott" Africa_Sao_Tome = "Africa/Sao_Tome" Africa_Dar_es_Salaam = "Africa/Dar_es_Salaam" Africa_Lubumbashi = "Africa/Lubumbashi" Africa_Kampala = "Africa/Kampala" Africa_Blantyre = "Africa/Blantyre" Africa_Malabo = "Africa/Malabo" Africa_Ndjamena = "Africa/Ndjamena" Africa_Timbuktu = "Africa/Timbuktu" Africa_Gaborone = "Africa/Gaborone" Africa_Casablanca = "Africa/Casablanca" Africa_Maputo = "Africa/Maputo" Africa_Lagos = "Africa/Lagos" Africa_Maseru = "Africa/Maseru" Africa_Porto_Novo = "Africa/Porto-Novo" Africa_Conakry = "Africa/Conakry" Africa_Douala = "Africa/Douala" Africa_Mogadishu = "Africa/Mogadishu" Africa_Dakar = "Africa/Dakar" Africa_Tripoli = "Africa/Tripoli" Africa_Harare = "Africa/Harare" Africa_Asmara = "Africa/Asmara" Africa_Windhoek = "Africa/Windhoek" Africa_Accra = "Africa/Accra" Africa_Lome = "Africa/Lome" Africa_Djibouti = "Africa/Djibouti" America_Tegucigalpa = "America/Tegucigalpa" America_St_Kitts = "America/St_Kitts" America_Puerto_Rico = "America/Puerto_Rico" America_Barbados = "America/Barbados" America_Atikokan = "America/Atikokan" America_Dominica = "America/Dominica" America_Guatemala = "America/Guatemala" America_Rankin_Inlet = "America/Rankin_Inlet" America_Tortola = "America/Tortola" America_Iqaluit = "America/Iqaluit" America_Miquelon = "America/Miquelon" America_Fortaleza = "America/Fortaleza" America_Resolute = "America/Resolute" America_St_Thomas = "America/St_Thomas" America_Recife = "America/Recife" America_Curacao = "America/Curacao" America_Martinique = "America/Martinique" America_Juneau = "America/Juneau" America_Boise = "America/Boise" America_Blanc_Sablon = "America/Blanc-Sablon" America_Cuiaba = "America/Cuiaba" America_Inuvik = "America/Inuvik" America_Yellowknife = "America/Yellowknife" America_Indiana_Knox = "America/Indiana/Knox" America_Indiana_Petersburg = "America/Indiana/Petersburg" America_Indiana_Indianapolis = "America/Indiana/Indianapolis" America_Indiana_Tell_City = "America/Indiana/Tell_City" America_Indiana_Vevay = "America/Indiana/Vevay" America_Indiana_Winamac = "America/Indiana/Winamac" America_Indiana_Marengo = "America/Indiana/Marengo" America_Indiana_Vincennes = "America/Indiana/Vincennes" America_Bogota = "America/Bogota" America_Moncton = "America/Moncton" America_Marigot = "America/Marigot" America_Maceio = "America/Maceio" America_Panama = "America/Panama" America_Metlakatla = "America/Metlakatla" America_Dawson = "America/Dawson" America_Catamarca = "America/Catamarca" America_Antigua = "America/Antigua" America_Kentucky_Louisville = "America/Kentucky/Louisville" America_Kentucky_Monticello = "America/Kentucky/Monticello" America_Ojinaga = "America/Ojinaga" America_Aruba = "America/Aruba" America_Sitka = "America/Sitka" America_Nassau = "America/Nassau" America_Sao_Paulo = "America/Sao_Paulo" America_Rio_Branco = "America/Rio_Branco" America_Costa_Rica = "America/Costa_Rica" America_Porto_Velho = "America/Porto_Velho" America_Indianapolis = "America/Indianapolis" America_Port_au_Prince = "America/Port-au-Prince" America_El_Salvador = "America/El_Salvador" America_Adak = "America/Adak" America_St_Johns = "America/St_Johns" America_Pangnirtung = "America/Pangnirtung" America_Matamoros = "America/Matamoros" America_Eirunepe = "America/Eirunepe" America_Shiprock = "America/Shiprock" America_Godthab = "America/Godthab" America_Thule = "America/Thule" America_Managua = "America/Managua" America_Glace_Bay = "America/Glace_Bay" America_Creston = "America/Creston" America_Hermosillo = "America/Hermosillo" America_Santa_Isabel = "America/Santa_Isabel" America_Santo_Domingo = "America/Santo_Domingo" America_St_Vincent = "America/St_Vincent" America_Mexico_City = "America/Mexico_City" America_Guyana = "America/Guyana" America_Port_of_Spain = "America/Port_of_Spain" America_Detroit = "America/Detroit" America_Argentina_Catamarca = "America/Argentina/Catamarca" America_Argentina_ComodRivadavia = "America/Argentina/ComodRivadavia" America_Argentina_Ushuaia = "America/Argentina/Ushuaia" America_Argentina_Mendoza = "America/Argentina/Mendoza" America_Argentina_Buenos_Aires = "America/Argentina/Buenos_Aires" America_Argentina_La_Rioja = "America/Argentina/La_Rioja" America_Argentina_Rio_Gallegos = "America/Argentina/Rio_Gallegos" America_Argentina_Jujuy = "America/Argentina/Jujuy" America_Argentina_San_Juan = "America/Argentina/San_Juan" America_Argentina_San_Luis = "America/Argentina/San_Luis" America_Argentina_Salta = "America/Argentina/Salta" America_Argentina_Tucuman = "America/Argentina/Tucuman" America_Argentina_Cordoba = "America/Argentina/Cordoba" America_Grand_Turk = "America/Grand_Turk" America_Knox_IN = "America/Knox_IN" America_Bahia_Banderas = "America/Bahia_Banderas" America_Virgin = "America/Virgin" America_Cayenne = "America/Cayenne" America_Montserrat = "America/Montserrat" America_Winnipeg = "America/Winnipeg" America_Anguilla = "America/Anguilla" America_Mendoza = "America/Mendoza" America_Santarem = "America/Santarem" America_St_Lucia = "America/St_Lucia" America_Cayman = "America/Cayman" America_Nipigon = "America/Nipigon" America_Denver = "America/Denver" America_Dawson_Creek = "America/Dawson_Creek" America_Nuuk = "America/Nuuk" America_Cancun = "America/Cancun" America_Nome = "America/Nome" America_Yakutat = "America/Yakutat" America_Grenada = "America/Grenada" America_Rosario = "America/Rosario" America_Caracas = "America/Caracas" America_Merida = "America/Merida" America_Buenos_Aires = "America/Buenos_Aires" America_Rainy_River = "America/Rainy_River" America_Phoenix = "America/Phoenix" America_Louisville = "America/Louisville" America_Punta_Arenas = "America/Punta_Arenas" America_Porto_Acre = "America/Porto_Acre" America_New_York = "America/New_York" America_La_Paz = "America/La_Paz" America_Noronha = "America/Noronha" America_Guadeloupe = "America/Guadeloupe" America_Campo_Grande = "America/Campo_Grande" America_Scoresbysund = "America/Scoresbysund" America_North_Dakota_Center = "America/North_Dakota/Center" America_North_Dakota_New_Salem = "America/North_Dakota/New_Salem" America_North_Dakota_Beulah = "America/North_Dakota/Beulah" America_Goose_Bay = "America/Goose_Bay" America_Fort_Wayne = "America/Fort_Wayne" America_Halifax = "America/Halifax" America_Swift_Current = "America/Swift_Current" America_Santiago = "America/Santiago" America_Mazatlan = "America/Mazatlan" America_St_Barthelemy = "America/St_Barthelemy" America_Belize = "America/Belize" America_Guayaquil = "America/Guayaquil" America_Montevideo = "America/Montevideo" America_Los_Angeles = "America/Los_Angeles" America_Havana = "America/Havana" America_Menominee = "America/Menominee" America_Jujuy = "America/Jujuy" America_Tijuana = "America/Tijuana" America_Edmonton = "America/Edmonton" America_Chihuahua = "America/Chihuahua" America_Cambridge_Bay = "America/Cambridge_Bay" America_Whitehorse = "America/Whitehorse" America_Fort_Nelson = "America/Fort_Nelson" America_Atka = "America/Atka" America_Manaus = "America/Manaus" America_Paramaribo = "America/Paramaribo" America_Lima = "America/Lima" America_Asuncion = "America/Asuncion" America_Chicago = "America/Chicago" America_Monterrey = "America/Monterrey" America_Coral_Harbour = "America/Coral_Harbour" America_Thunder_Bay = "America/Thunder_Bay" America_Ensenada = "America/Ensenada" America_Bahia = "America/Bahia" America_Montreal = "America/Montreal" America_Jamaica = "America/Jamaica" America_Anchorage = "America/Anchorage" America_Danmarkshavn = "America/Danmarkshavn" America_Kralendijk = "America/Kralendijk" America_Araguaina = "America/Araguaina" America_Cordoba = "America/Cordoba" America_Regina = "America/Regina" America_Belem = "America/Belem" America_Toronto = "America/Toronto" America_Vancouver = "America/Vancouver" America_Boa_Vista = "America/Boa_Vista" America_Lower_Princes = "America/Lower_Princes" Antarctica_Vostok = "Antarctica/Vostok" Antarctica_Palmer = "Antarctica/Palmer" Antarctica_Troll = "Antarctica/Troll" Antarctica_McMurdo = "Antarctica/McMurdo" Antarctica_Davis = "Antarctica/Davis" Antarctica_Syowa = "Antarctica/Syowa" Antarctica_DumontDUrville = "Antarctica/DumontDUrville" Antarctica_Mawson = "Antarctica/Mawson" Antarctica_Rothera = "Antarctica/Rothera" Antarctica_Casey = "Antarctica/Casey" Antarctica_Macquarie = "Antarctica/Macquarie" Antarctica_South_Pole = "Antarctica/South_Pole" Arctic_Longyearbyen = "Arctic/Longyearbyen" Asia_Tomsk = "Asia/Tomsk" Asia_Choibalsan = "Asia/Choibalsan" Asia_Thimbu = "Asia/Thimbu" Asia_Vientiane = "Asia/Vientiane" Asia_Yangon = "Asia/Yangon" Asia_Hebron = "Asia/Hebron" Asia_Chongqing = "Asia/Chongqing" Asia_Kabul = "Asia/Kabul" Asia_Bahrain = "Asia/Bahrain" Asia_Irkutsk = "Asia/Irkutsk" Asia_Yakutsk = "Asia/Yakutsk" Asia_Jayapura = "Asia/Jayapura" Asia_Hong_Kong = "Asia/Hong_Kong" Asia_Pontianak = "Asia/Pontianak" Asia_Tehran = "Asia/Tehran" Asia_Vladivostok = "Asia/Vladivostok" Asia_Omsk = "Asia/Omsk" Asia_Taipei = "Asia/Taipei" Asia_Dacca = "Asia/Dacca" Asia_Famagusta = "Asia/Famagusta" Asia_Riyadh = "Asia/Riyadh" Asia_Chungking = "Asia/Chungking" Asia_Amman = "Asia/Amman" Asia_Makassar = "Asia/Makassar" Asia_Kathmandu = "Asia/Kathmandu" Asia_Shanghai = "Asia/Shanghai" Asia_Qyzylorda = "Asia/Qyzylorda" Asia_Tel_Aviv = "Asia/Tel_Aviv" Asia_Tashkent = "Asia/Tashkent" Asia_Kuwait = "Asia/Kuwait" Asia_Urumqi = "Asia/Urumqi" Asia_Ashkhabad = "Asia/Ashkhabad" Asia_Kamchatka = "Asia/Kamchatka" Asia_Barnaul = "Asia/Barnaul" Asia_Novokuznetsk = "Asia/Novokuznetsk" Asia_Bishkek = "Asia/Bishkek" Asia_Kuching = "Asia/Kuching" Asia_Saigon = "Asia/Saigon" Asia_Singapore = "Asia/Singapore" Asia_Novosibirsk = "Asia/Novosibirsk" Asia_Atyrau = "Asia/Atyrau" Asia_Gaza = "Asia/Gaza" Asia_Dili = "Asia/Dili" Asia_Chita = "Asia/Chita" Asia_Ulan_Bator = "Asia/Ulan_Bator" Asia_Samarkand = "Asia/Samarkand" Asia_Nicosia = "Asia/Nicosia" Asia_Aden = "Asia/Aden" Asia_Dhaka = "Asia/Dhaka" Asia_Sakhalin = "Asia/Sakhalin" Asia_Aqtau = "Asia/Aqtau" Asia_Pyongyang = "Asia/Pyongyang" Asia_Jerusalem = "Asia/Jerusalem" Asia_Dushanbe = "Asia/Dushanbe" Asia_Colombo = "Asia/Colombo" Asia_Karachi = "Asia/Karachi" Asia_Kuala_Lumpur = "Asia/Kuala_Lumpur" Asia_Ashgabat = "Asia/Ashgabat" Asia_Kolkata = "Asia/Kolkata" Asia_Kashgar = "Asia/Kashgar" Asia_Hovd = "Asia/Hovd" Asia_Baku = "Asia/Baku" Asia_Khandyga = "Asia/Khandyga" Asia_Yekaterinburg = "Asia/Yekaterinburg" Asia_Rangoon = "Asia/Rangoon" Asia_Manila = "Asia/Manila" Asia_Macao = "Asia/Macao" Asia_Almaty = "Asia/Almaty" Asia_Tbilisi = "Asia/Tbilisi" Asia_Phnom_Penh = "Asia/Phnom_Penh" Asia_Macau = "Asia/Macau" Asia_Magadan = "Asia/Magadan" Asia_Qatar = "Asia/Qatar" Asia_Calcutta = "Asia/Calcutta" Asia_Ulaanbaatar = "Asia/Ulaanbaatar" Asia_Srednekolymsk = "Asia/Srednekolymsk" Asia_Aqtobe = "Asia/Aqtobe" Asia_Ust_Nera = "Asia/Ust-Nera" Asia_Krasnoyarsk = "Asia/Krasnoyarsk" Asia_Seoul = "Asia/Seoul" Asia_Brunei = "Asia/Brunei" Asia_Baghdad = "Asia/Baghdad" Asia_Ujung_Pandang = "Asia/Ujung_Pandang" Asia_Anadyr = "Asia/Anadyr" Asia_Muscat = "Asia/Muscat" Asia_Ho_Chi_Minh = "Asia/Ho_Chi_Minh" Asia_Damascus = "Asia/Damascus" Asia_Thimphu = "Asia/Thimphu" Asia_Bangkok = "Asia/Bangkok" Asia_Yerevan = "Asia/Yerevan" Asia_Katmandu = "Asia/Katmandu" Asia_Oral = "Asia/Oral" Asia_Tokyo = "Asia/Tokyo" Asia_Istanbul = "Asia/Istanbul" Asia_Beirut = "Asia/Beirut" Asia_Jakarta = "Asia/Jakarta" Asia_Dubai = "Asia/Dubai" Asia_Qostanay = "Asia/Qostanay" Asia_Harbin = "Asia/Harbin" Atlantic_Cape_Verde = "Atlantic/Cape_Verde" Atlantic_Stanley = "Atlantic/Stanley" Atlantic_Madeira = "Atlantic/Madeira" Atlantic_Bermuda = "Atlantic/Bermuda" Atlantic_Canary = "Atlantic/Canary" Atlantic_Faroe = "Atlantic/Faroe" Atlantic_Reykjavik = "Atlantic/Reykjavik" Atlantic_Jan_Mayen = "Atlantic/Jan_Mayen" Atlantic_St_Helena = "Atlantic/St_Helena" Atlantic_South_Georgia = "Atlantic/South_Georgia" Atlantic_Faeroe = "Atlantic/Faeroe" Atlantic_Azores = "Atlantic/Azores" Australia_NSW = "Australia/NSW" Australia_Adelaide = "Australia/Adelaide" Australia_Victoria = "Australia/Victoria" Australia_LHI = "Australia/LHI" Australia_North = "Australia/North" Australia_Darwin = "Australia/Darwin" Australia_Yancowinna = "Australia/Yancowinna" Australia_Queensland = "Australia/Queensland" Australia_Sydney = "Australia/Sydney" Australia_Tasmania = "Australia/Tasmania" Australia_South = "Australia/South" Australia_Canberra = "Australia/Canberra" Australia_Currie = "Australia/Currie" Australia_Eucla = "Australia/Eucla" Australia_Hobart = "Australia/Hobart" Australia_Broken_Hill = "Australia/Broken_Hill" Australia_Lindeman = "Australia/Lindeman" Australia_Melbourne = "Australia/Melbourne" Australia_Brisbane = "Australia/Brisbane" Australia_Perth = "Australia/Perth" Australia_Lord_Howe = "Australia/Lord_Howe" Australia_West = "Australia/West" Australia_ACT = "Australia/ACT" Brazil_East = "Brazil/East" Brazil_Acre = "Brazil/Acre" Brazil_DeNoronha = "Brazil/DeNoronha" Brazil_West = "Brazil/West" Canada_Pacific = "Canada/Pacific" Canada_Central = "Canada/Central" Canada_Atlantic = "Canada/Atlantic" Canada_Mountain = "Canada/Mountain" Canada_Yukon = "Canada/Yukon" Canada_Newfoundland = "Canada/Newfoundland" Canada_Eastern = "Canada/Eastern" Canada_Saskatchewan = "Canada/Saskatchewan" CET = "CET" Chile_EasterIsland = "Chile/EasterIsland" Chile_Continental = "Chile/Continental" CST6CDT = "CST6CDT" Cuba = "Cuba" EET = "EET" Egypt = "Egypt" Eire = "Eire" EST = "EST" EST5EDT = "EST5EDT" Etc_GMT_Plus_0 = "Etc/GMT+0" Etc_Greenwich = "Etc/Greenwich" Etc_GMT_Minus_0 = "Etc/GMT-0" Etc_GMT_Plus_5 = "Etc/GMT+5" Etc_GMT_Minus_1 = "Etc/GMT-1" Etc_GMT_Plus_1 = "Etc/GMT+1" Etc_GMT_Plus_8 = "Etc/GMT+8" Etc_GMT_Minus_12 = "Etc/GMT-12" Etc_UCT = "Etc/UCT" Etc_GMT_Plus_2 = "Etc/GMT+2" Etc_GMT_Minus_11 = "Etc/GMT-11" Etc_GMT_Plus_4 = "Etc/GMT+4" Etc_GMT_Minus_3 = "Etc/GMT-3" Etc_GMT_Minus_5 = "Etc/GMT-5" Etc_GMT_Plus_3 = "Etc/GMT+3" Etc_GMT_Minus_10 = "Etc/GMT-10" Etc_GMT_Plus_12 = "Etc/GMT+12" Etc_GMT_Minus_9 = "Etc/GMT-9" Etc_GMT_Minus_13 = "Etc/GMT-13" Etc_GMT0 = "Etc/GMT0" Etc_GMT_Plus_10 = "Etc/GMT+10" Etc_GMT_Minus_6 = "Etc/GMT-6" Etc_UTC = "Etc/UTC" Etc_GMT_Plus_7 = "Etc/GMT+7" Etc_GMT_Plus_6 = "Etc/GMT+6" Etc_GMT_Minus_7 = "Etc/GMT-7" Etc_GMT = "Etc/GMT" Etc_GMT_Minus_2 = "Etc/GMT-2" Etc_GMT_Minus_14 = "Etc/GMT-14" Etc_Universal = "Etc/Universal" Etc_GMT_Minus_8 = "Etc/GMT-8" Etc_GMT_Plus_11 = "Etc/GMT+11" Etc_Zulu = "Etc/Zulu" Etc_GMT_Minus_4 = "Etc/GMT-4" Etc_GMT_Plus_9 = "Etc/GMT+9" Europe_Samara = "Europe/Samara" Europe_Belfast = "Europe/Belfast" Europe_Brussels = "Europe/Brussels" Europe_Vaduz = "Europe/Vaduz" Europe_Athens = "Europe/Athens" Europe_Luxembourg = "Europe/Luxembourg" Europe_Copenhagen = "Europe/Copenhagen" Europe_Volgograd = "Europe/Volgograd" Europe_Kaliningrad = "Europe/Kaliningrad" Europe_Belgrade = "Europe/Belgrade" Europe_Guernsey = "Europe/Guernsey" Europe_Sarajevo = "Europe/Sarajevo" Europe_Malta = "Europe/Malta" Europe_Paris = "Europe/Paris" Europe_Mariehamn = "Europe/Mariehamn" Europe_Andorra = "Europe/Andorra" Europe_Lisbon = "Europe/Lisbon" Europe_Uzhgorod = "Europe/Uzhgorod" Europe_Astrakhan = "Europe/Astrakhan" Europe_Tirane = "Europe/Tirane" Europe_Prague = "Europe/Prague" Europe_Zagreb = "Europe/Zagreb" Europe_San_Marino = "Europe/San_Marino" Europe_Amsterdam = "Europe/Amsterdam" Europe_Vatican = "Europe/Vatican" Europe_Dublin = "Europe/Dublin" Europe_Minsk = "Europe/Minsk" Europe_Madrid = "Europe/Madrid" Europe_Jersey = "Europe/Jersey" Europe_Nicosia = "Europe/Nicosia" Europe_Moscow = "Europe/Moscow" Europe_Sofia = "Europe/Sofia" Europe_Vilnius = "Europe/Vilnius" Europe_Berlin = "Europe/Berlin" Europe_Saratov = "Europe/Saratov" Europe_Budapest = "Europe/Budapest" Europe_Rome = "Europe/Rome" Europe_Bucharest = "Europe/Bucharest" Europe_Bratislava = "Europe/Bratislava" Europe_Gibraltar = "Europe/Gibraltar" Europe_Tallinn = "Europe/Tallinn" Europe_Tiraspol = "Europe/Tiraspol" Europe_Ljubljana = "Europe/Ljubljana" Europe_Skopje = "Europe/Skopje" Europe_Helsinki = "Europe/Helsinki" Europe_Simferopol = "Europe/Simferopol" Europe_Kiev = "Europe/Kiev" Europe_Zurich = "Europe/Zurich" Europe_Busingen = "Europe/Busingen" Europe_Vienna = "Europe/Vienna" Europe_Ulyanovsk = "Europe/Ulyanovsk" Europe_Stockholm = "Europe/Stockholm" Europe_Riga = "Europe/Riga" Europe_Isle_of_Man = "Europe/Isle_of_Man" Europe_Chisinau = "Europe/Chisinau" Europe_Zaporozhye = "Europe/Zaporozhye" Europe_Kirov = "Europe/Kirov" Europe_Warsaw = "Europe/Warsaw" Europe_London = "Europe/London" Europe_Monaco = "Europe/Monaco" Europe_Oslo = "Europe/Oslo" Europe_Podgorica = "Europe/Podgorica" Europe_Istanbul = "Europe/Istanbul" Factory = "Factory" GB = "GB" GB_Eire = "GB-Eire" GMT = "GMT" GMT_Plus_0 = "GMT+0" GMT_Minus_0 = "GMT-0" GMT0 = "GMT0" Greenwich = "Greenwich" Hongkong = "Hongkong" HST = "HST" Iceland = "Iceland" Indian_Mayotte = "Indian/Mayotte" Indian_Kerguelen = "Indian/Kerguelen" Indian_Maldives = "Indian/Maldives" Indian_Reunion = "Indian/Reunion" Indian_Mauritius = "Indian/Mauritius" Indian_Antananarivo = "Indian/Antananarivo" Indian_Mahe = "Indian/Mahe" Indian_Comoro = "Indian/Comoro" Indian_Christmas = "Indian/Christmas" Indian_Chagos = "Indian/Chagos" Indian_Cocos = "Indian/Cocos" Iran = "Iran" Israel = "Israel" Jamaica = "Jamaica" Japan = "Japan" Kwajalein = "Kwajalein" Libya = "Libya" MET = "MET" Mexico_General = "Mexico/General" Mexico_BajaNorte = "Mexico/BajaNorte" Mexico_BajaSur = "Mexico/BajaSur" MST = "MST" MST7MDT = "MST7MDT" NZ = "NZ" NZ_CHAT = "NZ-CHAT" Pacific_Easter = "Pacific/Easter" Pacific_Pitcairn = "Pacific/Pitcairn" Pacific_Enderbury = "Pacific/Enderbury" Pacific_Funafuti = "Pacific/Funafuti" Pacific_Ponape = "Pacific/Ponape" Pacific_Noumea = "Pacific/Noumea" Pacific_Palau = "Pacific/Palau" Pacific_Johnston = "Pacific/Johnston" Pacific_Majuro = "Pacific/Majuro" Pacific_Pago_Pago = "Pacific/Pago_Pago" Pacific_Efate = "Pacific/Efate" Pacific_Kiritimati = "Pacific/Kiritimati" Pacific_Fakaofo = "Pacific/Fakaofo" Pacific_Chatham = "Pacific/Chatham" Pacific_Kwajalein = "Pacific/Kwajalein" Pacific_Midway = "Pacific/Midway" Pacific_Wallis = "Pacific/Wallis" Pacific_Fiji = "Pacific/Fiji" Pacific_Apia = "Pacific/Apia" Pacific_Yap = "Pacific/Yap" Pacific_Port_Moresby = "Pacific/Port_Moresby" Pacific_Honolulu = "Pacific/Honolulu" Pacific_Pohnpei = "Pacific/Pohnpei" Pacific_Gambier = "Pacific/Gambier" Pacific_Nauru = "Pacific/Nauru" Pacific_Kosrae = "Pacific/Kosrae" Pacific_Rarotonga = "Pacific/Rarotonga" Pacific_Marquesas = "Pacific/Marquesas" Pacific_Tarawa = "Pacific/Tarawa" Pacific_Truk = "Pacific/Truk" Pacific_Niue = "Pacific/Niue" Pacific_Samoa = "Pacific/Samoa" Pacific_Guam = "Pacific/Guam" Pacific_Saipan = "Pacific/Saipan" Pacific_Galapagos = "Pacific/Galapagos" Pacific_Bougainville = "Pacific/Bougainville" Pacific_Wake = "Pacific/Wake" Pacific_Tongatapu = "Pacific/Tongatapu" Pacific_Chuuk = "Pacific/Chuuk" Pacific_Tahiti = "Pacific/Tahiti" Pacific_Guadalcanal = "Pacific/Guadalcanal" Pacific_Auckland = "Pacific/Auckland" Pacific_Norfolk = "Pacific/Norfolk" Poland = "Poland" Portugal = "Portugal" PRC = "PRC" PST8PDT = "PST8PDT" ROC = "ROC" ROK = "ROK" Singapore = "Singapore" Turkey = "Turkey" UCT = "UCT" Universal = "Universal" US_Pacific = "US/Pacific" US_Central = "US/Central" US_Michigan = "US/Michigan" US_Aleutian = "US/Aleutian" US_Indiana_Starke = "US/Indiana-Starke" US_Mountain = "US/Mountain" US_Arizona = "US/Arizona" US_Eastern = "US/Eastern" US_Alaska = "US/Alaska" US_Samoa = "US/Samoa" US_East_Indiana = "US/East-Indiana" US_Hawaii = "US/Hawaii" UTC = "UTC" WET = "WET" W_SU = "W-SU" Zulu = "Zulu" )
Variables ¶
This section is empty.
Functions ¶
func GetLocationList ¶
func GetLocationList() []string
GetLocationList returns the full list of timezone locations.
func ValidLocation ¶
ValidLocation checks whether the input is a valid location.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.