]>
jfr.im git - irc/quakenet/newserv.git/blob - geoip/libGeoIP/timeZone.c
2 const char* GeoIP_time_zone_by_country_and_region(const char * country
,const char * region
) {
3 const char* timezone
= NULL
;
10 if ( strcmp (country
, "AD") == 0 ) {
11 timezone
= "Europe/Andorra";
13 else if ( strcmp (country
, "AE") == 0 ) {
14 timezone
= "Asia/Dubai";
16 else if ( strcmp (country
, "AF") == 0 ) {
17 timezone
= "Asia/Kabul";
19 else if ( strcmp (country
, "AG") == 0 ) {
20 timezone
= "America/Antigua";
22 else if ( strcmp (country
, "AI") == 0 ) {
23 timezone
= "America/Anguilla";
25 else if ( strcmp (country
, "AL") == 0 ) {
26 timezone
= "Europe/Tirane";
28 else if ( strcmp (country
, "AM") == 0 ) {
29 timezone
= "Asia/Yerevan";
31 else if ( strcmp (country
, "AN") == 0 ) {
32 timezone
= "America/Curacao";
34 else if ( strcmp (country
, "AO") == 0 ) {
35 timezone
= "Africa/Luanda";
37 else if ( strcmp (country
, "AR") == 0 ) {
38 timezone
= "America/Mendoza";
40 else if ( strcmp (country
, "AS") == 0 ) {
41 timezone
= "US/Samoa";
43 else if ( strcmp (country
, "AT") == 0 ) {
44 timezone
= "Europe/Vienna";
46 else if ( strcmp (country
, "AU") == 0 ) {
47 timezone
= "Australia/Queensland";
49 else if ( strcmp (country
, "AW") == 0 ) {
50 timezone
= "America/Aruba";
52 else if ( strcmp (country
, "AX") == 0 ) {
53 timezone
= "Europe/Mariehamn";
55 else if ( strcmp (country
, "AZ") == 0 ) {
56 timezone
= "Asia/Baku";
58 else if ( strcmp (country
, "BA") == 0 ) {
59 timezone
= "Europe/Sarajevo";
61 else if ( strcmp (country
, "BB") == 0 ) {
62 timezone
= "America/Barbados";
64 else if ( strcmp (country
, "BD") == 0 ) {
65 timezone
= "Asia/Dhaka";
67 else if ( strcmp (country
, "BE") == 0 ) {
68 timezone
= "Europe/Brussels";
70 else if ( strcmp (country
, "BF") == 0 ) {
71 timezone
= "Africa/Ouagadougou";
73 else if ( strcmp (country
, "BG") == 0 ) {
74 timezone
= "Europe/Sofia";
76 else if ( strcmp (country
, "BH") == 0 ) {
77 timezone
= "Asia/Bahrain";
79 else if ( strcmp (country
, "BI") == 0 ) {
80 timezone
= "Africa/Bujumbura";
82 else if ( strcmp (country
, "BJ") == 0 ) {
83 timezone
= "Africa/Porto-Novo";
85 else if ( strcmp (country
, "BL") == 0 ) {
86 timezone
= "America/St_Barthelemy";
88 else if ( strcmp (country
, "BM") == 0 ) {
89 timezone
= "Atlantic/Bermuda";
91 else if ( strcmp (country
, "BN") == 0 ) {
92 timezone
= "Asia/Brunei";
94 else if ( strcmp (country
, "BO") == 0 ) {
95 timezone
= "America/La_Paz";
97 else if ( strcmp (country
, "BR") == 0 ) {
98 timezone
= "Brazil/Acre";
100 else if ( strcmp (country
, "BS") == 0 ) {
101 timezone
= "America/Nassau";
103 else if ( strcmp (country
, "BT") == 0 ) {
104 timezone
= "Asia/Thimphu";
106 else if ( strcmp (country
, "BW") == 0 ) {
107 timezone
= "Africa/Gaborone";
109 else if ( strcmp (country
, "BY") == 0 ) {
110 timezone
= "Europe/Minsk";
112 else if ( strcmp (country
, "BZ") == 0 ) {
113 timezone
= "America/Belize";
115 else if ( strcmp (country
, "CA") == 0 ) {
116 if ( strcmp (region
, "AB") == 0 ) {
117 timezone
= "America/Yellowknife";
119 else if ( strcmp (region
, "BC") == 0 ) {
120 timezone
= "America/Vancouver";
122 else if ( strcmp (region
, "MB") == 0 ) {
123 timezone
= "America/Rainy_River";
125 else if ( strcmp (region
, "NB") == 0 ) {
126 timezone
= "America/Halifax";
128 else if ( strcmp (region
, "NF") == 0 ) {
129 timezone
= "America/Winnipeg";
131 else if ( strcmp (region
, "NS") == 0 ) {
132 timezone
= "America/Montreal";
134 else if ( strcmp (region
, "NT") == 0 ) {
135 timezone
= "America/St_Johns";
137 else if ( strcmp (region
, "NU") == 0 ) {
138 timezone
= "America/Rankin_Inlet";
140 else if ( strcmp (region
, "ON") == 0 ) {
141 timezone
= "America/Halifax";
143 else if ( strcmp (region
, "PE") == 0 ) {
144 timezone
= "America/Regina";
146 else if ( strcmp (region
, "QC") == 0 ) {
147 timezone
= "America/Halifax";
149 else if ( strcmp (region
, "SK") == 0 ) {
150 timezone
= "America/Edmonton";
153 else if ( strcmp (country
, "CC") == 0 ) {
154 timezone
= "Indian/Cocos";
156 else if ( strcmp (country
, "CF") == 0 ) {
157 timezone
= "Africa/Bangui";
159 else if ( strcmp (country
, "CG") == 0 ) {
160 timezone
= "Africa/Brazzaville";
162 else if ( strcmp (country
, "CH") == 0 ) {
163 timezone
= "Europe/Zurich";
165 else if ( strcmp (country
, "CI") == 0 ) {
166 timezone
= "Africa/Abidjan";
168 else if ( strcmp (country
, "CK") == 0 ) {
169 timezone
= "Pacific/Rarotonga";
171 else if ( strcmp (country
, "CL") == 0 ) {
172 timezone
= "Chile/Continental";
174 else if ( strcmp (country
, "CM") == 0 ) {
175 timezone
= "Africa/Lagos";
177 else if ( strcmp (country
, "CN") == 0 ) {
178 timezone
= "Asia/Chongqing";
180 else if ( strcmp (country
, "CO") == 0 ) {
181 timezone
= "America/Bogota";
183 else if ( strcmp (country
, "CR") == 0 ) {
184 timezone
= "America/Costa_Rica";
186 else if ( strcmp (country
, "CU") == 0 ) {
187 timezone
= "America/Havana";
189 else if ( strcmp (country
, "CV") == 0 ) {
190 timezone
= "Atlantic/Cape_Verde";
192 else if ( strcmp (country
, "CX") == 0 ) {
193 timezone
= "Indian/Christmas";
195 else if ( strcmp (country
, "CY") == 0 ) {
196 timezone
= "Asia/Nicosia";
198 else if ( strcmp (country
, "CZ") == 0 ) {
199 timezone
= "Europe/Prague";
201 else if ( strcmp (country
, "DE") == 0 ) {
202 timezone
= "Europe/Berlin";
204 else if ( strcmp (country
, "DJ") == 0 ) {
205 timezone
= "Africa/Djibouti";
207 else if ( strcmp (country
, "DK") == 0 ) {
208 timezone
= "Europe/Copenhagen";
210 else if ( strcmp (country
, "DM") == 0 ) {
211 timezone
= "America/Dominica";
213 else if ( strcmp (country
, "DO") == 0 ) {
214 timezone
= "America/Santo_Domingo";
216 else if ( strcmp (country
, "DZ") == 0 ) {
217 timezone
= "Africa/Algiers";
219 else if ( strcmp (country
, "EC") == 0 ) {
220 timezone
= "America/Guayaquil";
222 else if ( strcmp (country
, "EE") == 0 ) {
223 timezone
= "Europe/Tallinn";
225 else if ( strcmp (country
, "EG") == 0 ) {
226 timezone
= "Africa/Cairo";
228 else if ( strcmp (country
, "EH") == 0 ) {
229 timezone
= "Africa/El_Aaiun";
231 else if ( strcmp (country
, "ER") == 0 ) {
232 timezone
= "Africa/Asmera";
234 else if ( strcmp (country
, "ES") == 0 ) {
235 timezone
= "Europe/Madrid";
237 else if ( strcmp (country
, "ET") == 0 ) {
238 timezone
= "Africa/Addis_Ababa";
240 else if ( strcmp (country
, "FI") == 0 ) {
241 timezone
= "Europe/Helsinki";
243 else if ( strcmp (country
, "FJ") == 0 ) {
244 timezone
= "Pacific/Fiji";
246 else if ( strcmp (country
, "FK") == 0 ) {
247 timezone
= "Atlantic/Stanley";
249 else if ( strcmp (country
, "FO") == 0 ) {
250 timezone
= "Atlantic/Faeroe";
252 else if ( strcmp (country
, "FR") == 0 ) {
253 timezone
= "Europe/Paris";
255 else if ( strcmp (country
, "FX") == 0 ) {
256 timezone
= "Europe/Paris";
258 else if ( strcmp (country
, "GA") == 0 ) {
259 timezone
= "Africa/Libreville";
261 else if ( strcmp (country
, "GB") == 0 ) {
262 timezone
= "Europe/London";
264 else if ( strcmp (country
, "GD") == 0 ) {
265 timezone
= "America/Grenada";
267 else if ( strcmp (country
, "GE") == 0 ) {
268 timezone
= "Asia/Tbilisi";
270 else if ( strcmp (country
, "GF") == 0 ) {
271 timezone
= "America/Cayenne";
273 else if ( strcmp (country
, "GG") == 0 ) {
274 timezone
= "Europe/Guernsey";
276 else if ( strcmp (country
, "GH") == 0 ) {
277 timezone
= "Africa/Accra";
279 else if ( strcmp (country
, "GI") == 0 ) {
280 timezone
= "Europe/Gibraltar";
282 else if ( strcmp (country
, "GL") == 0 ) {
283 timezone
= "America/Godthab";
285 else if ( strcmp (country
, "GM") == 0 ) {
286 timezone
= "Africa/Banjul";
288 else if ( strcmp (country
, "GN") == 0 ) {
289 timezone
= "Africa/Conakry";
291 else if ( strcmp (country
, "GP") == 0 ) {
292 timezone
= "America/Guadeloupe";
294 else if ( strcmp (country
, "GQ") == 0 ) {
295 timezone
= "Africa/Malabo";
297 else if ( strcmp (country
, "GR") == 0 ) {
298 timezone
= "Europe/Athens";
300 else if ( strcmp (country
, "GS") == 0 ) {
301 timezone
= "Atlantic/South_Georgia";
303 else if ( strcmp (country
, "GT") == 0 ) {
304 timezone
= "America/Guatemala";
306 else if ( strcmp (country
, "GU") == 0 ) {
307 timezone
= "Pacific/Guam";
309 else if ( strcmp (country
, "GW") == 0 ) {
310 timezone
= "Africa/Bissau";
312 else if ( strcmp (country
, "GY") == 0 ) {
313 timezone
= "America/Guyana";
315 else if ( strcmp (country
, "HK") == 0 ) {
316 timezone
= "Asia/Hong_Kong";
318 else if ( strcmp (country
, "HN") == 0 ) {
319 timezone
= "America/Tegucigalpa";
321 else if ( strcmp (country
, "HR") == 0 ) {
322 timezone
= "Europe/Zagreb";
324 else if ( strcmp (country
, "HT") == 0 ) {
325 timezone
= "America/Port-au-Prince";
327 else if ( strcmp (country
, "HU") == 0 ) {
328 timezone
= "Europe/Budapest";
330 else if ( strcmp (country
, "ID") == 0 ) {
331 timezone
= "Asia/Jakarta";
333 else if ( strcmp (country
, "IE") == 0 ) {
334 timezone
= "Europe/Dublin";
336 else if ( strcmp (country
, "IL") == 0 ) {
337 timezone
= "Asia/Jerusalem";
339 else if ( strcmp (country
, "IM") == 0 ) {
340 timezone
= "Europe/Isle_of_Man";
342 else if ( strcmp (country
, "IN") == 0 ) {
343 timezone
= "Asia/Calcutta";
345 else if ( strcmp (country
, "IO") == 0 ) {
346 timezone
= "Indian/Chagos";
348 else if ( strcmp (country
, "IQ") == 0 ) {
349 timezone
= "Asia/Baghdad";
351 else if ( strcmp (country
, "IR") == 0 ) {
352 timezone
= "Asia/Tehran";
354 else if ( strcmp (country
, "IS") == 0 ) {
355 timezone
= "Atlantic/Reykjavik";
357 else if ( strcmp (country
, "IT") == 0 ) {
358 timezone
= "Europe/Rome";
360 else if ( strcmp (country
, "JE") == 0 ) {
361 timezone
= "Europe/Jersey";
363 else if ( strcmp (country
, "JM") == 0 ) {
364 timezone
= "America/Jamaica";
366 else if ( strcmp (country
, "JO") == 0 ) {
367 timezone
= "Asia/Amman";
369 else if ( strcmp (country
, "JP") == 0 ) {
370 timezone
= "Asia/Tokyo";
372 else if ( strcmp (country
, "KE") == 0 ) {
373 timezone
= "Africa/Nairobi";
375 else if ( strcmp (country
, "KG") == 0 ) {
376 timezone
= "Asia/Bishkek";
378 else if ( strcmp (country
, "KH") == 0 ) {
379 timezone
= "Asia/Phnom_Penh";
381 else if ( strcmp (country
, "KI") == 0 ) {
382 timezone
= "Pacific/Tarawa";
384 else if ( strcmp (country
, "KM") == 0 ) {
385 timezone
= "Indian/Comoro";
387 else if ( strcmp (country
, "KN") == 0 ) {
388 timezone
= "America/St_Kitts";
390 else if ( strcmp (country
, "KP") == 0 ) {
391 timezone
= "Asia/Pyongyang";
393 else if ( strcmp (country
, "KR") == 0 ) {
394 timezone
= "Asia/Seoul";
396 else if ( strcmp (country
, "KW") == 0 ) {
397 timezone
= "Asia/Kuwait";
399 else if ( strcmp (country
, "KY") == 0 ) {
400 timezone
= "America/Cayman";
402 else if ( strcmp (country
, "KZ") == 0 ) {
403 timezone
= "Asia/Almaty";
405 else if ( strcmp (country
, "LA") == 0 ) {
406 timezone
= "Asia/Vientiane";
408 else if ( strcmp (country
, "LB") == 0 ) {
409 timezone
= "Asia/Beirut";
411 else if ( strcmp (country
, "LC") == 0 ) {
412 timezone
= "America/St_Lucia";
414 else if ( strcmp (country
, "LI") == 0 ) {
415 timezone
= "Europe/Vaduz";
417 else if ( strcmp (country
, "LK") == 0 ) {
418 timezone
= "Asia/Colombo";
420 else if ( strcmp (country
, "LR") == 0 ) {
421 timezone
= "Africa/Monrovia";
423 else if ( strcmp (country
, "LS") == 0 ) {
424 timezone
= "Africa/Maseru";
426 else if ( strcmp (country
, "LT") == 0 ) {
427 timezone
= "Europe/Vilnius";
429 else if ( strcmp (country
, "LU") == 0 ) {
430 timezone
= "Europe/Luxembourg";
432 else if ( strcmp (country
, "LV") == 0 ) {
433 timezone
= "Europe/Riga";
435 else if ( strcmp (country
, "LY") == 0 ) {
436 timezone
= "Africa/Tripoli";
438 else if ( strcmp (country
, "MA") == 0 ) {
439 timezone
= "Africa/Casablanca";
441 else if ( strcmp (country
, "MC") == 0 ) {
442 timezone
= "Europe/Monaco";
444 else if ( strcmp (country
, "MD") == 0 ) {
445 timezone
= "Europe/Chisinau";
447 else if ( strcmp (country
, "ME") == 0 ) {
448 timezone
= "Europe/Podgorica";
450 else if ( strcmp (country
, "MF") == 0 ) {
451 timezone
= "America/Marigot";
453 else if ( strcmp (country
, "MG") == 0 ) {
454 timezone
= "Indian/Antananarivo";
456 else if ( strcmp (country
, "MK") == 0 ) {
457 timezone
= "Europe/Skopje";
459 else if ( strcmp (country
, "ML") == 0 ) {
460 timezone
= "Africa/Bamako";
462 else if ( strcmp (country
, "MM") == 0 ) {
463 timezone
= "Asia/Rangoon";
465 else if ( strcmp (country
, "MN") == 0 ) {
466 timezone
= "Asia/Choibalsan";
468 else if ( strcmp (country
, "MO") == 0 ) {
469 timezone
= "Asia/Macao";
471 else if ( strcmp (country
, "MP") == 0 ) {
472 timezone
= "Pacific/Saipan";
474 else if ( strcmp (country
, "MQ") == 0 ) {
475 timezone
= "America/Martinique";
477 else if ( strcmp (country
, "MR") == 0 ) {
478 timezone
= "Africa/Nouakchott";
480 else if ( strcmp (country
, "MS") == 0 ) {
481 timezone
= "America/Montserrat";
483 else if ( strcmp (country
, "MT") == 0 ) {
484 timezone
= "Europe/Malta";
486 else if ( strcmp (country
, "MU") == 0 ) {
487 timezone
= "Indian/Mauritius";
489 else if ( strcmp (country
, "MV") == 0 ) {
490 timezone
= "Indian/Maldives";
492 else if ( strcmp (country
, "MW") == 0 ) {
493 timezone
= "Africa/Blantyre";
495 else if ( strcmp (country
, "MX") == 0 ) {
496 timezone
= "America/Chihuahua";
498 else if ( strcmp (country
, "MZ") == 0 ) {
499 timezone
= "Africa/Maputo";
501 else if ( strcmp (country
, "NA") == 0 ) {
502 timezone
= "Africa/Windhoek";
504 else if ( strcmp (country
, "NC") == 0 ) {
505 timezone
= "Pacific/Noumea";
507 else if ( strcmp (country
, "NE") == 0 ) {
508 timezone
= "Africa/Niamey";
510 else if ( strcmp (country
, "NF") == 0 ) {
511 timezone
= "Pacific/Norfolk";
513 else if ( strcmp (country
, "NG") == 0 ) {
514 timezone
= "Africa/Lagos";
516 else if ( strcmp (country
, "NI") == 0 ) {
517 timezone
= "America/Managua";
519 else if ( strcmp (country
, "NL") == 0 ) {
520 timezone
= "Europe/Amsterdam";
522 else if ( strcmp (country
, "NO") == 0 ) {
523 timezone
= "Europe/Oslo";
525 else if ( strcmp (country
, "NP") == 0 ) {
526 timezone
= "Asia/Katmandu";
528 else if ( strcmp (country
, "NR") == 0 ) {
529 timezone
= "Pacific/Nauru";
531 else if ( strcmp (country
, "NU") == 0 ) {
532 timezone
= "Pacific/Niue";
534 else if ( strcmp (country
, "NZ") == 0 ) {
535 timezone
= "Pacific/Auckland";
537 else if ( strcmp (country
, "OM") == 0 ) {
538 timezone
= "Asia/Muscat";
540 else if ( strcmp (country
, "PA") == 0 ) {
541 timezone
= "America/Panama";
543 else if ( strcmp (country
, "PE") == 0 ) {
544 timezone
= "America/Lima";
546 else if ( strcmp (country
, "PG") == 0 ) {
547 timezone
= "Pacific/Port_Moresby";
549 else if ( strcmp (country
, "PH") == 0 ) {
550 timezone
= "Asia/Manila";
552 else if ( strcmp (country
, "PK") == 0 ) {
553 timezone
= "Asia/Karachi";
555 else if ( strcmp (country
, "PL") == 0 ) {
556 timezone
= "Europe/Warsaw";
558 else if ( strcmp (country
, "PM") == 0 ) {
559 timezone
= "America/Miquelon";
561 else if ( strcmp (country
, "PN") == 0 ) {
562 timezone
= "Pacific/Pitcairn";
564 else if ( strcmp (country
, "PR") == 0 ) {
565 timezone
= "America/Puerto_Rico";
567 else if ( strcmp (country
, "PS") == 0 ) {
568 timezone
= "Asia/Gaza";
570 else if ( strcmp (country
, "PT") == 0 ) {
571 timezone
= "Atlantic/Azores";
573 else if ( strcmp (country
, "PW") == 0 ) {
574 timezone
= "Pacific/Palau";
576 else if ( strcmp (country
, "PY") == 0 ) {
577 timezone
= "America/Asuncion";
579 else if ( strcmp (country
, "QA") == 0 ) {
580 timezone
= "Asia/Qatar";
582 else if ( strcmp (country
, "RE") == 0 ) {
583 timezone
= "Indian/Reunion";
585 else if ( strcmp (country
, "RO") == 0 ) {
586 timezone
= "Europe/Bucharest";
588 else if ( strcmp (country
, "RS") == 0 ) {
589 timezone
= "Europe/Belgrade";
591 else if ( strcmp (country
, "RU") == 0 ) {
592 timezone
= "Europe/Moscow";
594 else if ( strcmp (country
, "RW") == 0 ) {
595 timezone
= "Africa/Kigali";
597 else if ( strcmp (country
, "SA") == 0 ) {
598 timezone
= "Asia/Riyadh";
600 else if ( strcmp (country
, "SB") == 0 ) {
601 timezone
= "Pacific/Guadalcanal";
603 else if ( strcmp (country
, "SC") == 0 ) {
604 timezone
= "Indian/Mahe";
606 else if ( strcmp (country
, "SD") == 0 ) {
607 timezone
= "Africa/Khartoum";
609 else if ( strcmp (country
, "SE") == 0 ) {
610 timezone
= "Europe/Stockholm";
612 else if ( strcmp (country
, "SG") == 0 ) {
613 timezone
= "Asia/Singapore";
615 else if ( strcmp (country
, "SH") == 0 ) {
616 timezone
= "Atlantic/St_Helena";
618 else if ( strcmp (country
, "SI") == 0 ) {
619 timezone
= "Europe/Ljubljana";
621 else if ( strcmp (country
, "SJ") == 0 ) {
622 timezone
= "Arctic/Longyearbyen";
624 else if ( strcmp (country
, "SK") == 0 ) {
625 timezone
= "Europe/Bratislava";
627 else if ( strcmp (country
, "SL") == 0 ) {
628 timezone
= "Africa/Freetown";
630 else if ( strcmp (country
, "SM") == 0 ) {
631 timezone
= "Europe/San_Marino";
633 else if ( strcmp (country
, "SN") == 0 ) {
634 timezone
= "Africa/Dakar";
636 else if ( strcmp (country
, "SO") == 0 ) {
637 timezone
= "Africa/Mogadishu";
639 else if ( strcmp (country
, "SR") == 0 ) {
640 timezone
= "America/Paramaribo";
642 else if ( strcmp (country
, "ST") == 0 ) {
643 timezone
= "Africa/Sao_Tome";
645 else if ( strcmp (country
, "SV") == 0 ) {
646 timezone
= "America/El_Salvador";
648 else if ( strcmp (country
, "SY") == 0 ) {
649 timezone
= "Asia/Damascus";
651 else if ( strcmp (country
, "SZ") == 0 ) {
652 timezone
= "Africa/Mbabane";
654 else if ( strcmp (country
, "TC") == 0 ) {
655 timezone
= "America/Grand_Turk";
657 else if ( strcmp (country
, "TD") == 0 ) {
658 timezone
= "Africa/Ndjamena";
660 else if ( strcmp (country
, "TF") == 0 ) {
661 timezone
= "Indian/Kerguelen";
663 else if ( strcmp (country
, "TG") == 0 ) {
664 timezone
= "Africa/Lome";
666 else if ( strcmp (country
, "TH") == 0 ) {
667 timezone
= "Asia/Bangkok";
669 else if ( strcmp (country
, "TJ") == 0 ) {
670 timezone
= "Asia/Dushanbe";
672 else if ( strcmp (country
, "TK") == 0 ) {
673 timezone
= "Pacific/Fakaofo";
675 else if ( strcmp (country
, "TL") == 0 ) {
676 timezone
= "Asia/Jakarta";
678 else if ( strcmp (country
, "TM") == 0 ) {
679 timezone
= "Asia/Ashgabat";
681 else if ( strcmp (country
, "TN") == 0 ) {
682 timezone
= "Africa/Tunis";
684 else if ( strcmp (country
, "TO") == 0 ) {
685 timezone
= "Pacific/Tongatapu";
687 else if ( strcmp (country
, "TR") == 0 ) {
688 timezone
= "Asia/Istanbul";
690 else if ( strcmp (country
, "TT") == 0 ) {
691 timezone
= "America/Port_of_Spain";
693 else if ( strcmp (country
, "TV") == 0 ) {
694 timezone
= "Pacific/Funafuti";
696 else if ( strcmp (country
, "TW") == 0 ) {
697 timezone
= "Asia/Taipei";
699 else if ( strcmp (country
, "TZ") == 0 ) {
700 timezone
= "Africa/Dar_es_Salaam";
702 else if ( strcmp (country
, "UA") == 0 ) {
703 timezone
= "Europe/Kiev";
705 else if ( strcmp (country
, "UG") == 0 ) {
706 timezone
= "Africa/Kampala";
708 else if ( strcmp (country
, "US") == 0 ) {
709 if ( strcmp (region
, "AK") == 0 ) {
710 timezone
= "America/New_York";
712 else if ( strcmp (region
, "AL") == 0 ) {
713 timezone
= "America/Chicago";
715 else if ( strcmp (region
, "AR") == 0 ) {
716 timezone
= "America/New_York";
718 else if ( strcmp (region
, "AZ") == 0 ) {
719 timezone
= "America/Chicago";
721 else if ( strcmp (region
, "CA") == 0 ) {
722 timezone
= "America/Chicago";
724 else if ( strcmp (region
, "CO") == 0 ) {
725 timezone
= "America/New_York";
727 else if ( strcmp (region
, "CT") == 0 ) {
728 timezone
= "America/New_York";
730 else if ( strcmp (region
, "DC") == 0 ) {
731 timezone
= "Pacific/Honolulu";
733 else if ( strcmp (region
, "DE") == 0 ) {
734 timezone
= "America/New_York";
736 else if ( strcmp (region
, "FL") == 0 ) {
737 timezone
= "America/Chicago";
739 else if ( strcmp (region
, "GA") == 0 ) {
740 timezone
= "America/Chicago";
742 else if ( strcmp (region
, "HI") == 0 ) {
743 timezone
= "America/New_York";
745 else if ( strcmp (region
, "IA") == 0 ) {
746 timezone
= "America/New_York";
748 else if ( strcmp (region
, "ID") == 0 ) {
749 timezone
= "America/New_York";
751 else if ( strcmp (region
, "IL") == 0 ) {
752 timezone
= "America/Chicago";
754 else if ( strcmp (region
, "IN") == 0 ) {
755 timezone
= "America/Denver";
757 else if ( strcmp (region
, "KS") == 0 ) {
758 timezone
= "America/Chicago";
760 else if ( strcmp (region
, "KY") == 0 ) {
761 timezone
= "America/New_York";
763 else if ( strcmp (region
, "LA") == 0 ) {
764 timezone
= "America/Phoenix";
766 else if ( strcmp (region
, "MA") == 0 ) {
767 timezone
= "America/New_York";
769 else if ( strcmp (region
, "MD") == 0 ) {
770 timezone
= "America/Denver";
772 else if ( strcmp (region
, "ME") == 0 ) {
773 timezone
= "America/Chicago";
775 else if ( strcmp (region
, "MI") == 0 ) {
776 timezone
= "America/Chicago";
778 else if ( strcmp (region
, "MN") == 0 ) {
779 timezone
= "America/New_York";
781 else if ( strcmp (region
, "MO") == 0 ) {
782 timezone
= "America/New_York";
784 else if ( strcmp (region
, "MS") == 0 ) {
785 timezone
= "America/Los_Angeles";
787 else if ( strcmp (region
, "MT") == 0 ) {
788 timezone
= "America/Los_Angeles";
790 else if ( strcmp (region
, "NC") == 0 ) {
791 timezone
= "America/Los_Angeles";
793 else if ( strcmp (region
, "ND") == 0 ) {
794 timezone
= "America/Denver";
796 else if ( strcmp (region
, "NE") == 0 ) {
797 timezone
= "America/New_York";
799 else if ( strcmp (region
, "NH") == 0 ) {
800 timezone
= "America/Chicago";
802 else if ( strcmp (region
, "NJ") == 0 ) {
803 timezone
= "America/Denver";
805 else if ( strcmp (region
, "NM") == 0 ) {
806 timezone
= "America/Chicago";
808 else if ( strcmp (region
, "NV") == 0 ) {
809 timezone
= "America/Chicago";
811 else if ( strcmp (region
, "NY") == 0 ) {
812 timezone
= "America/Chicago";
814 else if ( strcmp (region
, "OH") == 0 ) {
815 timezone
= "America/New_York";
817 else if ( strcmp (region
, "OK") == 0 ) {
818 timezone
= "America/New_York";
820 else if ( strcmp (region
, "OR") == 0 ) {
821 timezone
= "America/New_York";
823 else if ( strcmp (region
, "PA") == 0 ) {
824 timezone
= "America/Los_Angeles";
826 else if ( strcmp (region
, "RI") == 0 ) {
827 timezone
= "America/Chicago";
829 else if ( strcmp (region
, "SC") == 0 ) {
830 timezone
= "America/New_York";
832 else if ( strcmp (region
, "SD") == 0 ) {
833 timezone
= "America/Denver";
835 else if ( strcmp (region
, "TN") == 0 ) {
836 timezone
= "America/New_York";
838 else if ( strcmp (region
, "TX") == 0 ) {
839 timezone
= "America/New_York";
841 else if ( strcmp (region
, "UT") == 0 ) {
842 timezone
= "America/Indianapolis";
844 else if ( strcmp (region
, "VA") == 0 ) {
845 timezone
= "America/Chicago";
847 else if ( strcmp (region
, "VT") == 0 ) {
848 timezone
= "America/New_York";
850 else if ( strcmp (region
, "WA") == 0 ) {
851 timezone
= "America/Chicago";
853 else if ( strcmp (region
, "WI") == 0 ) {
854 timezone
= "America/Anchorage";
856 else if ( strcmp (region
, "WV") == 0 ) {
857 timezone
= "America/New_York";
860 else if ( strcmp (country
, "UY") == 0 ) {
861 timezone
= "America/Montevideo";
863 else if ( strcmp (country
, "UZ") == 0 ) {
864 timezone
= "Asia/Tashkent";
866 else if ( strcmp (country
, "VA") == 0 ) {
867 timezone
= "Europe/Vatican";
869 else if ( strcmp (country
, "VC") == 0 ) {
870 timezone
= "America/St_Vincent";
872 else if ( strcmp (country
, "VE") == 0 ) {
873 timezone
= "America/Caracas";
875 else if ( strcmp (country
, "VG") == 0 ) {
876 timezone
= "America/Tortola";
878 else if ( strcmp (country
, "VI") == 0 ) {
879 timezone
= "America/St_Thomas";
881 else if ( strcmp (country
, "VN") == 0 ) {
882 timezone
= "Asia/Phnom_Penh";
884 else if ( strcmp (country
, "VU") == 0 ) {
885 timezone
= "Pacific/Efate";
887 else if ( strcmp (country
, "WF") == 0 ) {
888 timezone
= "Pacific/Wallis";
890 else if ( strcmp (country
, "WS") == 0 ) {
891 timezone
= "Pacific/Samoa";
893 else if ( strcmp (country
, "YE") == 0 ) {
894 timezone
= "Asia/Aden";
896 else if ( strcmp (country
, "YT") == 0 ) {
897 timezone
= "Indian/Mayotte";
899 else if ( strcmp (country
, "YU") == 0 ) {
900 timezone
= "Europe/Belgrade";
902 else if ( strcmp (country
, "ZA") == 0 ) {
903 timezone
= "Africa/Johannesburg";
905 else if ( strcmp (country
, "ZM") == 0 ) {
906 timezone
= "Africa/Lusaka";
908 else if ( strcmp (country
, "ZW") == 0 ) {
909 timezone
= "Africa/Harare";