1# This file is auto-generated by the Perl DateTime Suite time zone
2# code generator (0.07) This code generator comes with the
3# DateTime::TimeZone module distribution in the tools/ directory
4
5#
6# Generated from /tmp/AQnrcGnc70/africa.  Olson data version 2010b
7#
8# Do not edit this file directly.
9#
10package DateTime::TimeZone::Africa::Windhoek;
11
12use strict;
13
14use Class::Singleton;
15use DateTime::TimeZone;
16use DateTime::TimeZone::OlsonDB;
17
18@DateTime::TimeZone::Africa::Windhoek::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
19
20my $spans =
21[
22    [
23DateTime::TimeZone::NEG_INFINITY,
2459677512696,
25DateTime::TimeZone::NEG_INFINITY,
2659677516800,
274104,
280,
29'LMT'
30    ],
31    [
3259677512696,
3360026394600,
3459677518096,
3560026400000,
365400,
370,
38'SWAT'
39    ],
40    [
4160026394600,
4261274707200,
4360026401800,
4461274714400,
457200,
460,
47'SAST'
48    ],
49    [
5061274707200,
5161290428400,
5261274718000,
5361290439200,
5410800,
551,
56'SAST'
57    ],
58    [
5961290428400,
6062773653600,
6161290435600,
6262773660800,
637200,
640,
65'SAST'
66    ],
67    [
6862773653600,
6962901007200,
7062773660800,
7162901014400,
727200,
730,
74'CAT'
75    ],
76    [
7762901007200,
7862914323600,
7962901010800,
8062914327200,
813600,
820,
83'WAT'
84    ],
85    [
8662914323600,
8762932464000,
8862914330800,
8962932471200,
907200,
911,
92'WAST'
93    ],
94    [
9562932464000,
9662945773200,
9762932467600,
9862945776800,
993600,
1000,
101'WAT'
102    ],
103    [
10462945773200,
10562964518400,
10662945780400,
10762964525600,
1087200,
1091,
110'WAST'
111    ],
112    [
11362964518400,
11462977222800,
11562964522000,
11662977226400,
1173600,
1180,
119'WAT'
120    ],
121    [
12262977222800,
12362995968000,
12462977230000,
12562995975200,
1267200,
1271,
128'WAST'
129    ],
130    [
13162995968000,
13263009277200,
13362995971600,
13463009280800,
1353600,
1360,
137'WAT'
138    ],
139    [
14063009277200,
14163027417600,
14263009284400,
14363027424800,
1447200,
1451,
146'WAST'
147    ],
148    [
14963027417600,
15063040726800,
15163027421200,
15263040730400,
1533600,
1540,
155'WAT'
156    ],
157    [
15863040726800,
15963058867200,
16063040734000,
16163058874400,
1627200,
1631,
164'WAST'
165    ],
166    [
16763058867200,
16863072176400,
16963058870800,
17063072180000,
1713600,
1720,
173'WAT'
174    ],
175    [
17663072176400,
17763090316800,
17863072183600,
17963090324000,
1807200,
1811,
182'WAST'
183    ],
184    [
18563090316800,
18663103626000,
18763090320400,
18863103629600,
1893600,
1900,
191'WAT'
192    ],
193    [
19463103626000,
19563121766400,
19663103633200,
19763121773600,
1987200,
1991,
200'WAST'
201    ],
202    [
20363121766400,
20463135075600,
20563121770000,
20663135079200,
2073600,
2080,
209'WAT'
210    ],
211    [
21263135075600,
21363153820800,
21463135082800,
21563153828000,
2167200,
2171,
218'WAST'
219    ],
220    [
22163153820800,
22263166525200,
22363153824400,
22463166528800,
2253600,
2260,
227'WAT'
228    ],
229    [
23063166525200,
23163185270400,
23263166532400,
23363185277600,
2347200,
2351,
236'WAST'
237    ],
238    [
23963185270400,
24063198579600,
24163185274000,
24263198583200,
2433600,
2440,
245'WAT'
246    ],
247    [
24863198579600,
24963216720000,
25063198586800,
25163216727200,
2527200,
2531,
254'WAST'
255    ],
256    [
25763216720000,
25863230029200,
25963216723600,
26063230032800,
2613600,
2620,
263'WAT'
264    ],
265    [
26663230029200,
26763248169600,
26863230036400,
26963248176800,
2707200,
2711,
272'WAST'
273    ],
274    [
27563248169600,
27663261478800,
27763248173200,
27863261482400,
2793600,
2800,
281'WAT'
282    ],
283    [
28463261478800,
28563279619200,
28663261486000,
28763279626400,
2887200,
2891,
290'WAST'
291    ],
292    [
29363279619200,
29463292928400,
29563279622800,
29663292932000,
2973600,
2980,
299'WAT'
300    ],
301    [
30263292928400,
30363311068800,
30463292935600,
30563311076000,
3067200,
3071,
308'WAST'
309    ],
310    [
31163311068800,
31263324378000,
31363311072400,
31463324381600,
3153600,
3160,
317'WAT'
318    ],
319    [
32063324378000,
32163343123200,
32263324385200,
32363343130400,
3247200,
3251,
326'WAST'
327    ],
328    [
32963343123200,
33063356432400,
33163343126800,
33263356436000,
3333600,
3340,
335'WAT'
336    ],
337    [
33863356432400,
33963374572800,
34063356439600,
34163374580000,
3427200,
3431,
344'WAST'
345    ],
346    [
34763374572800,
34863387882000,
34963374576400,
35063387885600,
3513600,
3520,
353'WAT'
354    ],
355    [
35663387882000,
35763406022400,
35863387889200,
35963406029600,
3607200,
3611,
362'WAST'
363    ],
364    [
36563406022400,
36663419331600,
36763406026000,
36863419335200,
3693600,
3700,
371'WAT'
372    ],
373    [
37463419331600,
37563437472000,
37663419338800,
37763437479200,
3787200,
3791,
380'WAST'
381    ],
382    [
38363437472000,
38463450781200,
38563437475600,
38663450784800,
3873600,
3880,
389'WAT'
390    ],
391    [
39263450781200,
39363468921600,
39463450788400,
39563468928800,
3967200,
3971,
398'WAST'
399    ],
400    [
40163468921600,
40263482230800,
40363468925200,
40463482234400,
4053600,
4060,
407'WAT'
408    ],
409    [
41063482230800,
41163500976000,
41263482238000,
41363500983200,
4147200,
4151,
416'WAST'
417    ],
418    [
41963500976000,
42063513680400,
42163500979600,
42263513684000,
4233600,
4240,
425'WAT'
426    ],
427    [
42863513680400,
42963532425600,
43063513687600,
43163532432800,
4327200,
4331,
434'WAST'
435    ],
436    [
43763532425600,
43863545734800,
43963532429200,
44063545738400,
4413600,
4420,
443'WAT'
444    ],
445    [
44663545734800,
44763563875200,
44863545742000,
44963563882400,
4507200,
4511,
452'WAST'
453    ],
454    [
45563563875200,
45663577184400,
45763563878800,
45863577188000,
4593600,
4600,
461'WAT'
462    ],
463    [
46463577184400,
46563595324800,
46663577191600,
46763595332000,
4687200,
4691,
470'WAST'
471    ],
472    [
47363595324800,
47463608634000,
47563595328400,
47663608637600,
4773600,
4780,
479'WAT'
480    ],
481    [
48263608634000,
48363626774400,
48463608641200,
48563626781600,
4867200,
4871,
488'WAST'
489    ],
490    [
49163626774400,
49263640083600,
49363626778000,
49463640087200,
4953600,
4960,
497'WAT'
498    ],
499    [
50063640083600,
50163658224000,
50263640090800,
50363658231200,
5047200,
5051,
506'WAST'
507    ],
508    [
50963658224000,
51063671533200,
51163658227600,
51263671536800,
5133600,
5140,
515'WAT'
516    ],
517    [
51863671533200,
51963690278400,
52063671540400,
52163690285600,
5227200,
5231,
524'WAST'
525    ],
526    [
52763690278400,
52863702982800,
52963690282000,
53063702986400,
5313600,
5320,
533'WAT'
534    ],
535    [
53663702982800,
53763721728000,
53863702990000,
53963721735200,
5407200,
5411,
542'WAST'
543    ],
544    [
54563721728000,
54663735037200,
54763721731600,
54863735040800,
5493600,
5500,
551'WAT'
552    ],
553    [
55463735037200,
55563753177600,
55663735044400,
55763753184800,
5587200,
5591,
560'WAST'
561    ],
562    [
56363753177600,
56463766486800,
56563753181200,
56663766490400,
5673600,
5680,
569'WAT'
570    ],
571];
572
573sub olson_version { '2010b' }
574
575sub has_dst_changes { 29 }
576
577sub _max_year { 2020 }
578
579sub _new_instance
580{
581    return shift->_init( @_, spans => $spans );
582}
583
584sub _last_offset { 3600 }
585
586my $last_observance = bless( {
587  'format' => 'WA%sT',
588  'gmtoff' => '1:00',
589  'local_start_datetime' => bless( {
590    'formatter' => undef,
591    'local_rd_days' => 728020,
592    'local_rd_secs' => 82800,
593    'offset_modifier' => 0,
594    'rd_nanosecs' => 0,
595    'tz' => bless( {
596      'name' => 'floating',
597      'offset' => 0
598    }, 'DateTime::TimeZone::Floating' ),
599    'utc_rd_days' => 728020,
600    'utc_rd_secs' => 82800,
601    'utc_year' => 1995
602  }, 'DateTime' ),
603  'offset_from_std' => 0,
604  'offset_from_utc' => 3600,
605  'until' => [],
606  'utc_start_datetime' => bless( {
607    'formatter' => undef,
608    'local_rd_days' => 728020,
609    'local_rd_secs' => 79200,
610    'offset_modifier' => 0,
611    'rd_nanosecs' => 0,
612    'tz' => bless( {
613      'name' => 'floating',
614      'offset' => 0
615    }, 'DateTime::TimeZone::Floating' ),
616    'utc_rd_days' => 728020,
617    'utc_rd_secs' => 79200,
618    'utc_year' => 1995
619  }, 'DateTime' )
620}, 'DateTime::TimeZone::OlsonDB::Observance' )
621;
622sub _last_observance { $last_observance }
623
624my $rules = [
625  bless( {
626    'at' => '2:00',
627    'from' => '1995',
628    'in' => 'Apr',
629    'letter' => '',
630    'name' => 'Namibia',
631    'offset_from_std' => 0,
632    'on' => 'Sun>=1',
633    'save' => '0',
634    'to' => 'max',
635    'type' => undef
636  }, 'DateTime::TimeZone::OlsonDB::Rule' ),
637  bless( {
638    'at' => '2:00',
639    'from' => '1994',
640    'in' => 'Sep',
641    'letter' => 'S',
642    'name' => 'Namibia',
643    'offset_from_std' => 3600,
644    'on' => 'Sun>=1',
645    'save' => '1:00',
646    'to' => 'max',
647    'type' => undef
648  }, 'DateTime::TimeZone::OlsonDB::Rule' )
649]
650;
651sub _rules { $rules }
652
653
6541;
655
656