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
6 # Generated from /tmp/UeJBI4pKMW/northamerica. Olson data version 2009s
8 # Do not edit this file directly.
10 package DateTime::TimeZone::America::Cancun;
15 use DateTime::TimeZone;
16 use DateTime::TimeZone::OlsonDB;
18 @DateTime::TimeZone::America::Cancun::ISA = ( 'Class::Singleton', 'DateTime::TimeZone' );
23 DateTime::TimeZone::NEG_INFINITY,
25 DateTime::TimeZone::NEG_INFINITY,
501 sub olson_version { '2009s' }
503 sub has_dst_changes { 26 }
505 sub _max_year { 2019 }
509 return shift->_init( @_, spans => $spans );
512 sub _last_offset { -21600 }
514 my $last_observance = bless( {
517 'local_start_datetime' => bless( {
518 'formatter' => undef,
519 'local_rd_days' => 729603,
520 'local_rd_secs' => 3600,
521 'offset_modifier' => 0,
524 'name' => 'floating',
526 }, 'DateTime::TimeZone::Floating' ),
527 'utc_rd_days' => 729603,
528 'utc_rd_secs' => 3600,
531 'offset_from_std' => 0,
532 'offset_from_utc' => -21600,
534 'utc_start_datetime' => bless( {
535 'formatter' => undef,
536 'local_rd_days' => 729603,
537 'local_rd_secs' => 21600,
538 'offset_modifier' => 0,
541 'name' => 'floating',
543 }, 'DateTime::TimeZone::Floating' ),
544 'utc_rd_days' => 729603,
545 'utc_rd_secs' => 21600,
548 }, 'DateTime::TimeZone::OlsonDB::Observance' )
550 sub _last_observance { $last_observance }
559 'offset_from_std' => 3600,
564 }, 'DateTime::TimeZone::OlsonDB::Rule' ),
571 'offset_from_std' => 0,
576 }, 'DateTime::TimeZone::OlsonDB::Rule' )
579 sub _rules { $rules }