timezonefingerprint.js 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249
  1. // Copyright 2008 The Closure Library Authors. All Rights Reserved.
  2. //
  3. // Licensed under the Apache License, Version 2.0 (the "License");
  4. // you may not use this file except in compliance with the License.
  5. // You may obtain a copy of the License at
  6. //
  7. // http://www.apache.org/licenses/LICENSE-2.0
  8. //
  9. // Unless required by applicable law or agreed to in writing, software
  10. // distributed under the License is distributed on an "AS-IS" BASIS,
  11. // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  12. // See the License for the specific language governing permissions and
  13. // limitations under the License.
  14. /**
  15. * @fileoverview Data for time zone detection.
  16. *
  17. * The following code was generated by the timezone_detect.py script in:
  18. * http://go/i18n_tools which uses following files in this directory:
  19. * http://go/timezone_data
  20. * Files: olson2fingerprint.txt, country2olsons.txt, popular_olsons.txt
  21. *
  22. * After automatic generation, we added some manual editing. Projecting on
  23. * future changes, it is very unlikely that we will need to change the time
  24. * zone ID groups. Most of the further modifications will be about relative
  25. * time zone order in each time zone group. The easiest way to do that is
  26. * to modify this code directly, and that's what we decide to do.
  27. *
  28. */
  29. // clang-format off
  30. goog.provide('goog.locale.TimeZoneFingerprint');
  31. /**
  32. * Time zone fingerprint mapping to time zone list.
  33. * @enum {!Array<string>}
  34. */
  35. goog.locale.TimeZoneFingerprint = {
  36. 919994368: ['CA-America/Halifax', 'CA-America/Glace_Bay', 'GL-America/Thule',
  37. 'BM-Atlantic/Bermuda'],
  38. 6: ['AQ-Antarctica/Rothera'],
  39. 8: ['GY-America/Guyana'],
  40. 839516172: ['US-America/Denver', 'MX-America/Chihuahua', 'US-America/Boise',
  41. 'CA-America/Cambridge_Bay', 'CA-America/Edmonton', 'CA-America/Inuvik',
  42. 'MX-America/Mazatlan', 'US-America/Shiprock', 'CA-America/Yellowknife'],
  43. 983564836: ['UY-America/Montevideo'],
  44. 487587858: ['AU-Australia/Lord_Howe'],
  45. 20: ['KI-Pacific/Kiritimati'],
  46. 22: ['TO-Pacific/Tongatapu', 'KI-Pacific/Enderbury'],
  47. 24: ['FJ-Pacific/Fiji', 'TV-Pacific/Funafuti', 'MH-Pacific/Kwajalein',
  48. 'MH-Pacific/Majuro', 'NR-Pacific/Nauru', 'KI-Pacific/Tarawa',
  49. 'UM-Pacific/Wake', 'WF-Pacific/Wallis'],
  50. 25: ['NF-Pacific/Norfolk'],
  51. 26: ['RU-Asia/Magadan', 'VU-Pacific/Efate', 'SB-Pacific/Guadalcanal',
  52. 'FM-Pacific/Kosrae', 'NC-Pacific/Noumea', 'FM-Pacific/Ponape'],
  53. 28: ['AQ-Antarctica/DumontDUrville', 'AU-Australia/Brisbane',
  54. 'AU-Australia/Lindeman', 'GU-Pacific/Guam', 'PG-Pacific/Port_Moresby',
  55. 'MP-Pacific/Saipan', 'FM-Pacific/Truk'],
  56. 931091802: ['US-America/New_York', 'US-America/Detroit', 'CA-America/Iqaluit',
  57. 'US-America/Kentucky/Monticello', 'US-America/Louisville',
  58. 'CA-America/Montreal', 'BS-America/Nassau', 'CA-America/Nipigon',
  59. 'CA-America/Pangnirtung', 'CA-America/Thunder_Bay', 'CA-America/Toronto'],
  60. 30: ['JP-Asia/Tokyo', 'KR-Asia/Seoul', 'TL-Asia/Dili', 'ID-Asia/Jayapura',
  61. 'KP-Asia/Pyongyang', 'PW-Pacific/Palau'],
  62. 32: ['HK-Asia/Hong_Kong', 'CN-Asia/Shanghai', 'AU-Australia/Perth',
  63. 'TW-Asia/Taipei', 'SG-Asia/Singapore', 'AQ-Antarctica/Casey',
  64. 'BN-Asia/Brunei', 'CN-Asia/Chongqing', 'CN-Asia/Harbin',
  65. 'CN-Asia/Kashgar', 'MY-Asia/Kuala_Lumpur', 'MY-Asia/Kuching',
  66. 'MO-Asia/Macau', 'ID-Asia/Makassar', 'PH-Asia/Manila', 'CN-Asia/Urumqi'],
  67. 34: ['TH-Asia/Bangkok', 'AQ-Antarctica/Davis', 'ID-Asia/Jakarta',
  68. 'KH-Asia/Phnom_Penh', 'ID-Asia/Pontianak', 'VN-Asia/Saigon',
  69. 'LA-Asia/Vientiane', 'CX-Indian/Christmas'],
  70. 35: ['MM-Asia/Rangoon', 'CC-Indian/Cocos'],
  71. 941621262: ['BR-America/Sao_Paulo'],
  72. 37: ['IN-Asia/Calcutta'],
  73. 38: ['PK-Asia/Karachi', 'KZ-Asia/Aqtobe', 'TM-Asia/Ashgabat',
  74. 'TJ-Asia/Dushanbe', 'UZ-Asia/Samarkand', 'UZ-Asia/Tashkent',
  75. 'TF-Indian/Kerguelen', 'MV-Indian/Maldives'],
  76. 39: ['AF-Asia/Kabul'],
  77. 40: ['OM-Asia/Muscat', 'AE-Asia/Dubai', 'SC-Indian/Mahe',
  78. 'MU-Indian/Mauritius', 'RE-Indian/Reunion'],
  79. 626175324: ['JO-Asia/Amman'],
  80. 42: ['KE-Africa/Nairobi', 'SA-Asia/Riyadh', 'ET-Africa/Addis_Ababa',
  81. 'ER-Africa/Asmera', 'TZ-Africa/Dar_es_Salaam', 'DJ-Africa/Djibouti',
  82. 'UG-Africa/Kampala', 'SD-Africa/Khartoum', 'SO-Africa/Mogadishu',
  83. 'AQ-Antarctica/Syowa', 'YE-Asia/Aden', 'BH-Asia/Bahrain',
  84. 'KW-Asia/Kuwait', 'QA-Asia/Qatar', 'MG-Indian/Antananarivo',
  85. 'KM-Indian/Comoro', 'YT-Indian/Mayotte'],
  86. 44: ['ZA-Africa/Johannesburg', 'IL-Asia/Jerusalem', 'MW-Africa/Blantyre',
  87. 'BI-Africa/Bujumbura', 'BW-Africa/Gaborone', 'ZW-Africa/Harare',
  88. 'RW-Africa/Kigali', 'CD-Africa/Lubumbashi', 'ZM-Africa/Lusaka',
  89. 'MZ-Africa/Maputo', 'LS-Africa/Maseru', 'SZ-Africa/Mbabane',
  90. 'LY-Africa/Tripoli'],
  91. 46: ['NG-Africa/Lagos', 'DZ-Africa/Algiers', 'CF-Africa/Bangui',
  92. 'CG-Africa/Brazzaville', 'CM-Africa/Douala', 'CD-Africa/Kinshasa',
  93. 'GA-Africa/Libreville', 'AO-Africa/Luanda', 'GQ-Africa/Malabo',
  94. 'TD-Africa/Ndjamena', 'NE-Africa/Niamey', 'BJ-Africa/Porto-Novo'],
  95. 48: ['MA-Africa/Casablanca', 'CI-Africa/Abidjan', 'GH-Africa/Accra',
  96. 'ML-Africa/Bamako', 'GM-Africa/Banjul', 'GW-Africa/Bissau',
  97. 'GN-Africa/Conakry', 'SN-Africa/Dakar', 'EH-Africa/El_Aaiun',
  98. 'SL-Africa/Freetown', 'TG-Africa/Lome', 'LR-Africa/Monrovia',
  99. 'MR-Africa/Nouakchott', 'BF-Africa/Ouagadougou', 'ST-Africa/Sao_Tome',
  100. 'GL-America/Danmarkshavn', 'IS-Atlantic/Reykjavik',
  101. 'SH-Atlantic/St_Helena'],
  102. 570425352: ['GE-Asia/Tbilisi'],
  103. 50: ['CV-Atlantic/Cape_Verde'],
  104. 52: ['GS-Atlantic/South_Georgia', 'BR-America/Noronha'],
  105. 54: ['AR-America/Buenos_Aires', 'BR-America/Araguaina',
  106. 'AR-America/Argentina/La_Rioja', 'AR-America/Argentina/Rio_Gallegos',
  107. 'AR-America/Argentina/San_Juan', 'AR-America/Argentina/Tucuman',
  108. 'AR-America/Argentina/Ushuaia', 'BR-America/Bahia', 'BR-America/Belem',
  109. 'AR-America/Catamarca', 'GF-America/Cayenne', 'AR-America/Cordoba',
  110. 'BR-America/Fortaleza', 'AR-America/Jujuy', 'BR-America/Maceio',
  111. 'AR-America/Mendoza', 'SR-America/Paramaribo', 'BR-America/Recife',
  112. 'AQ-Antarctica/Rothera'],
  113. 56: ['VE-America/Caracas', 'AI-America/Anguilla', 'AG-America/Antigua',
  114. 'AW-America/Aruba', 'BB-America/Barbados', 'BR-America/Boa_Vista',
  115. 'AN-America/Curacao', 'DM-America/Dominica', 'GD-America/Grenada',
  116. 'GP-America/Guadeloupe', 'GY-America/Guyana', 'CU-America/Havana',
  117. 'BO-America/La_Paz', 'BR-America/Manaus', 'MQ-America/Martinique',
  118. 'MS-America/Montserrat', 'TT-America/Port_of_Spain',
  119. 'BR-America/Porto_Velho', 'PR-America/Puerto_Rico',
  120. 'DO-America/Santo_Domingo', 'KN-America/St_Kitts', 'LC-America/St_Lucia',
  121. 'VI-America/St_Thomas', 'VC-America/St_Vincent', 'VG-America/Tortola'],
  122. 58: ['US-America/Indianapolis', 'US-America/Indianapolis',
  123. 'CO-America/Bogota', 'KY-America/Cayman', 'CA-America/Coral_Harbour',
  124. 'BR-America/Eirunepe', 'EC-America/Guayaquil', 'US-America/Indiana/Knox',
  125. 'JM-America/Jamaica', 'PE-America/Lima', 'PA-America/Panama',
  126. 'BR-America/Rio_Branco'],
  127. 60: ['NI-America/Managua', 'CA-America/Regina', 'BZ-America/Belize',
  128. 'CR-America/Costa_Rica', 'SV-America/El_Salvador',
  129. 'CA-America/Swift_Current', 'EC-Pacific/Galapagos'],
  130. 62: ['US-America/Phoenix', 'CA-America/Dawson_Creek',
  131. 'MX-America/Hermosillo'],
  132. 64: ['PN-Pacific/Pitcairn'],
  133. 66: ['PF-Pacific/Gambier'],
  134. 67: ['PF-Pacific/Marquesas'],
  135. 68: ['US-Pacific/Honolulu', 'TK-Pacific/Fakaofo', 'UM-Pacific/Johnston',
  136. 'KI-Pacific/Kiritimati', 'CK-Pacific/Rarotonga', 'PF-Pacific/Tahiti'],
  137. 70: ['UM-Pacific/Midway', 'WS-Pacific/Apia', 'KI-Pacific/Enderbury',
  138. 'NU-Pacific/Niue', 'AS-Pacific/Pago_Pago'],
  139. 72: ['MH-Pacific/Kwajalein'],
  140. 49938444: ['MX-America/Chihuahua'],
  141. 905969678: ['CA-America/Halifax'],
  142. 626339164: ['EG-Africa/Cairo'],
  143. 939579406: ['FK-Atlantic/Stanley'],
  144. 487915538: ['AU-Australia/Lord_Howe'],
  145. 937427058: ['CL-Pacific/Easter'],
  146. 778043508: ['RU-Asia/Novosibirsk', 'RU-Asia/Omsk'],
  147. 474655352: ['RU-Asia/Anadyr', 'RU-Asia/Kamchatka'],
  148. 269133956: ['NZ-Pacific/Chatham'],
  149. 948087430: ['GL-America/Godthab'],
  150. 671787146: ['MN-Asia/Hovd'],
  151. 617261764: ['TR-Europe/Istanbul', 'RU-Europe/Kaliningrad', 'BY-Europe/Minsk'],
  152. 830603252: ['MX-America/Mexico_City', 'US-America/Chicago',
  153. 'MX-America/Cancun', 'US-America/Menominee', 'MX-America/Merida',
  154. 'MX-America/Monterrey', 'US-America/North_Dakota/Center',
  155. 'CA-America/Rainy_River', 'CA-America/Rankin_Inlet'],
  156. 805300897: ['LK-Asia/Colombo'],
  157. 805312524: ['MX-America/Mexico_City', 'HN-America/Tegucigalpa'],
  158. 984437412: ['GS-Atlantic/South_Georgia'],
  159. 850043558: ['MX-America/Chihuahua'],
  160. 29: ['AU-Australia/Darwin'],
  161. 710950176: ['MN-Asia/Ulaanbaatar'],
  162. 617786052: ['RO-Europe/Bucharest', 'FI-Europe/Helsinki', 'CY-Asia/Nicosia',
  163. 'GR-Europe/Athens', 'MD-Europe/Chisinau', 'TR-Europe/Istanbul',
  164. 'UA-Europe/Kiev', 'LV-Europe/Riga', 'UA-Europe/Simferopol',
  165. 'BG-Europe/Sofia', 'EE-Europe/Tallinn', 'UA-Europe/Uzhgorod',
  166. 'LT-Europe/Vilnius', 'UA-Europe/Zaporozhye'],
  167. 105862464: ['US-America/Juneau'],
  168. 581567010: ['IQ-Asia/Baghdad'],
  169. 1294772902: ['US-America/Los_Angeles', 'CA-America/Dawson',
  170. 'MX-America/Tijuana', 'CA-America/Vancouver', 'CA-America/Whitehorse'],
  171. 483044050: ['AU-Australia/Sydney', 'AU-Australia/Melbourne'],
  172. 491433170: ['AU-Australia/Hobart'],
  173. 36: ['NP-Asia/Katmandu', 'LK-Asia/Colombo', 'BD-Asia/Dhaka',
  174. 'AQ-Antarctica/Mawson', 'AQ-Antarctica/Vostok', 'KZ-Asia/Almaty',
  175. 'KZ-Asia/Qyzylorda', 'BT-Asia/Thimphu', 'IO-Indian/Chagos'],
  176. 626175196: ['IL-Asia/Jerusalem'],
  177. 919994592: ['CA-America/Goose_Bay'],
  178. 946339336: ['GB-Europe/London', 'ES-Atlantic/Canary', 'FO-Atlantic/Faeroe',
  179. 'PT-Atlantic/Madeira', 'IE-Europe/Dublin', 'PT-Europe/Lisbon'],
  180. 1037565906: ['PT-Atlantic/Azores', 'GL-America/Scoresbysund'],
  181. 670913918: ['TN-Africa/Tunis'],
  182. 41: ['IR-Asia/Tehran'],
  183. 572522538: ['RU-Europe/Moscow'],
  184. 403351686: ['MN-Asia/Choibalsan'],
  185. 626338524: ['PS-Asia/Gaza'],
  186. 411740806: ['RU-Asia/Yakutsk'],
  187. 635437856: ['RU-Asia/Irkutsk'],
  188. 617261788: ['RO-Europe/Bucharest', 'LB-Asia/Beirut'],
  189. 947956358: ['GL-America/Godthab', 'PM-America/Miquelon'],
  190. 12: ['EC-Pacific/Galapagos'],
  191. 626306268: ['SY-Asia/Damascus'],
  192. 497024903: ['AU-Australia/Adelaide', 'AU-Australia/Broken_Hill'],
  193. 456480044: ['RU-Asia/Vladivostok', 'RU-Asia/Sakhalin'],
  194. 312471854: ['NZ-Pacific/Auckland', 'AQ-Antarctica/McMurdo'],
  195. 626347356: ['EG-Africa/Cairo'],
  196. 897537370: ['CU-America/Havana'],
  197. 680176266: ['RU-Asia/Krasnoyarsk'],
  198. 1465210176: ['US-America/Anchorage'],
  199. 805312908: ['NI-America/Managua'],
  200. 492088530: ['AU-Australia/Hobart', 'AU-Australia/Currie'],
  201. 901076366: ['BR-America/Campo_Grande', 'BR-America/Cuiaba'],
  202. 943019406: ['CL-America/Santiago', 'AQ-Antarctica/Palmer'],
  203. 928339288: ['US-America/New_York', 'CA-America/Montreal',
  204. 'CA-America/Toronto', 'US-America/Detroit'],
  205. 939480410: ['US-America/Indiana/Marengo', 'US-America/Indiana/Vevay'],
  206. 626392412: ['NA-Africa/Windhoek'],
  207. 559943005: ['IR-Asia/Tehran'],
  208. 592794974: ['KZ-Asia/Aqtau', 'KZ-Asia/Oral'],
  209. 76502378: ['CA-America/Pangnirtung'],
  210. 838860812: ['US-America/Denver', 'CA-America/Edmonton'],
  211. 931091834: ['TC-America/Grand_Turk', 'HT-America/Port-au-Prince'],
  212. 662525310: ['FR-Europe/Paris', 'DE-Europe/Berlin', 'BA-Europe/Sarajevo',
  213. 'CS-Europe/Belgrade', 'ES-Africa/Ceuta', 'NL-Europe/Amsterdam',
  214. 'AD-Europe/Andorra', 'SK-Europe/Bratislava', 'BE-Europe/Brussels',
  215. 'HU-Europe/Budapest', 'DK-Europe/Copenhagen', 'GI-Europe/Gibraltar',
  216. 'SI-Europe/Ljubljana', 'LU-Europe/Luxembourg', 'ES-Europe/Madrid',
  217. 'MT-Europe/Malta', 'MC-Europe/Monaco', 'NO-Europe/Oslo',
  218. 'CZ-Europe/Prague', 'IT-Europe/Rome', 'MK-Europe/Skopje',
  219. 'SE-Europe/Stockholm', 'AL-Europe/Tirane', 'LI-Europe/Vaduz',
  220. 'AT-Europe/Vienna', 'PL-Europe/Warsaw', 'HR-Europe/Zagreb',
  221. 'CH-Europe/Zurich'],
  222. 1465865536: ['US-America/Anchorage', 'US-America/Juneau',
  223. 'US-America/Nome', 'US-America/Yakutat'],
  224. 495058823: ['AU-Australia/Adelaide', 'AU-Australia/Broken_Hill'],
  225. 599086472: ['GE-Asia/Tbilisi', 'AM-Asia/Yerevan', 'RU-Europe/Samara'],
  226. 805337484: ['GT-America/Guatemala'],
  227. 1001739662: ['PY-America/Asuncion'],
  228. 836894706: ['CA-America/Winnipeg'],
  229. 599086512: ['AZ-Asia/Baku'],
  230. 836894708: ['CA-America/Winnipeg'],
  231. 41025476: ['US-America/Menominee'],
  232. 501219282: ['RU-Asia/Magadan'],
  233. 970325971: ['CA-America/St_Johns'],
  234. 769654750: ['RU-Asia/Yekaterinburg'],
  235. 1286253222: ['US-America/Los_Angeles', 'CA-America/Vancouver',
  236. 'CA-America/Whitehorse'],
  237. 1373765610: ['US-America/Adak'],
  238. 973078513: ['CA-America/St_Johns'],
  239. 838860786: ['US-America/Chicago', 'CA-America/Winnipeg'],
  240. 970326003: ['CA-America/St_Johns'],
  241. 771751924: ['KG-Asia/Bishkek'],
  242. 952805774: ['AQ-Antarctica/Palmer'],
  243. 483699410: ['AU-Australia/Sydney', 'AU-Australia/Melbourne']
  244. };