lib/tzinfo/definitions/America/Mazatlan.rb in tzinfo-0.1.2 vs lib/tzinfo/definitions/America/Mazatlan.rb in tzinfo-0.2.0

- old
+ new

@@ -1,121 +1,131 @@ -require 'tzinfo/timezone' -module TZInfo -module Definitions #:nodoc: -module America #:nodoc: -class Mazatlan < Timezone #:nodoc: -setup -set_identifier('America/Mazatlan') -add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(58153339,24),0,Date::ITALY),-25540,0,:'LMT')} -add_period(1922,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(58153339,24),0,Date::ITALY),DateTime.new0(Rational.new!(9700171,4),0,Date::ITALY),-25200,0,:'MST')} -add_period(1927,6) {TimezonePeriod.new(DateTime.new0(Rational.new!(9700171,4),0,Date::ITALY),DateTime.new0(Rational.new!(9705183,4),0,Date::ITALY),-21600,0,:'CST')} -add_period(1930,11) {TimezonePeriod.new(DateTime.new0(Rational.new!(9705183,4),0,Date::ITALY),DateTime.new0(Rational.new!(9705855,4),0,Date::ITALY),-25200,0,:'MST')} -add_period(1931,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(9705855,4),0,Date::ITALY),DateTime.new0(Rational.new!(9706463,4),0,Date::ITALY),-21600,0,:'CST')} -add_period(1931,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(9706463,4),0,Date::ITALY),DateTime.new0(Rational.new!(58243171,24),0,Date::ITALY),-25200,0,:'MST')} -add_period(1932,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(58243171,24),0,Date::ITALY),DateTime.new0(Rational.new!(9721895,4),0,Date::ITALY),-21600,0,:'CST')} -add_period(1942,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(9721895,4),0,Date::ITALY),DateTime.new0(Rational.new!(58390339,24),0,Date::ITALY),-25200,0,:'MST')} -add_period(1949,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(58390339,24),0,Date::ITALY),DateTime.new0(Rational.new!(14643527,6),0,Date::ITALY),-28800,0,:'PST')} -add_period(1970,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(14643527,6),0,Date::ITALY),DateTime.new0(Rational.new!(19601447,8),0,Date::ITALY),-25200,0,:'MT')} -add_period(1996,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19601447,8),0,Date::ITALY),DateTime.new0(Rational.new!(14702303,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(1996,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14702303,6),0,Date::ITALY),DateTime.new0(Rational.new!(19604359,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(1997,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19604359,8),0,Date::ITALY),DateTime.new0(Rational.new!(14704487,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(1997,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14704487,6),0,Date::ITALY),DateTime.new0(Rational.new!(19607271,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(1998,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19607271,8),0,Date::ITALY),DateTime.new0(Rational.new!(14706671,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(1998,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14706671,6),0,Date::ITALY),DateTime.new0(Rational.new!(19610183,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(1999,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19610183,8),0,Date::ITALY),DateTime.new0(Rational.new!(14708897,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(1999,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14708897,6),0,Date::ITALY),DateTime.new0(Rational.new!(19613095,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2000,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19613095,8),0,Date::ITALY),DateTime.new0(Rational.new!(14711081,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2000,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14711081,6),0,Date::ITALY),DateTime.new0(Rational.new!(19616287,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2001,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(19616287,8),0,Date::ITALY),DateTime.new0(Rational.new!(14713097,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2001,9) {TimezonePeriod.new(DateTime.new0(Rational.new!(14713097,6),0,Date::ITALY),DateTime.new0(Rational.new!(19618975,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2002,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19618975,8),0,Date::ITALY),DateTime.new0(Rational.new!(14715449,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2002,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14715449,6),0,Date::ITALY),DateTime.new0(Rational.new!(19621887,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2003,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19621887,8),0,Date::ITALY),DateTime.new0(Rational.new!(14717633,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2003,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14717633,6),0,Date::ITALY),DateTime.new0(Rational.new!(19624799,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2004,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19624799,8),0,Date::ITALY),DateTime.new0(Rational.new!(14719859,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2004,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14719859,6),0,Date::ITALY),DateTime.new0(Rational.new!(19627711,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2005,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19627711,8),0,Date::ITALY),DateTime.new0(Rational.new!(14722043,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2005,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14722043,6),0,Date::ITALY),DateTime.new0(Rational.new!(19630623,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2006,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19630623,8),0,Date::ITALY),DateTime.new0(Rational.new!(14724227,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2006,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14724227,6),0,Date::ITALY),DateTime.new0(Rational.new!(19633535,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2007,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19633535,8),0,Date::ITALY),DateTime.new0(Rational.new!(14726411,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2007,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14726411,6),0,Date::ITALY),DateTime.new0(Rational.new!(19636503,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2008,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19636503,8),0,Date::ITALY),DateTime.new0(Rational.new!(14728595,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2008,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14728595,6),0,Date::ITALY),DateTime.new0(Rational.new!(19639415,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2009,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19639415,8),0,Date::ITALY),DateTime.new0(Rational.new!(14730779,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2009,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14730779,6),0,Date::ITALY),DateTime.new0(Rational.new!(19642327,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2010,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19642327,8),0,Date::ITALY),DateTime.new0(Rational.new!(14733005,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2010,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14733005,6),0,Date::ITALY),DateTime.new0(Rational.new!(19645239,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2011,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19645239,8),0,Date::ITALY),DateTime.new0(Rational.new!(14735189,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2011,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14735189,6),0,Date::ITALY),DateTime.new0(Rational.new!(19648151,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2012,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19648151,8),0,Date::ITALY),DateTime.new0(Rational.new!(14737373,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2012,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14737373,6),0,Date::ITALY),DateTime.new0(Rational.new!(19651119,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2013,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19651119,8),0,Date::ITALY),DateTime.new0(Rational.new!(14739557,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2013,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14739557,6),0,Date::ITALY),DateTime.new0(Rational.new!(19654031,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2014,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19654031,8),0,Date::ITALY),DateTime.new0(Rational.new!(14741741,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2014,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14741741,6),0,Date::ITALY),DateTime.new0(Rational.new!(19656943,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2015,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19656943,8),0,Date::ITALY),DateTime.new0(Rational.new!(14743925,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2015,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14743925,6),0,Date::ITALY),DateTime.new0(Rational.new!(19659855,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2016,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19659855,8),0,Date::ITALY),DateTime.new0(Rational.new!(14746151,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2016,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14746151,6),0,Date::ITALY),DateTime.new0(Rational.new!(19662767,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2017,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19662767,8),0,Date::ITALY),DateTime.new0(Rational.new!(14748335,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2017,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14748335,6),0,Date::ITALY),DateTime.new0(Rational.new!(19665679,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2018,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19665679,8),0,Date::ITALY),DateTime.new0(Rational.new!(14750519,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2018,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14750519,6),0,Date::ITALY),DateTime.new0(Rational.new!(19668647,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2019,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19668647,8),0,Date::ITALY),DateTime.new0(Rational.new!(14752703,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2019,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14752703,6),0,Date::ITALY),DateTime.new0(Rational.new!(19671559,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2020,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19671559,8),0,Date::ITALY),DateTime.new0(Rational.new!(14754887,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2020,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14754887,6),0,Date::ITALY),DateTime.new0(Rational.new!(19674471,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2021,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19674471,8),0,Date::ITALY),DateTime.new0(Rational.new!(14757113,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2021,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14757113,6),0,Date::ITALY),DateTime.new0(Rational.new!(19677383,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2022,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19677383,8),0,Date::ITALY),DateTime.new0(Rational.new!(14759297,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2022,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14759297,6),0,Date::ITALY),DateTime.new0(Rational.new!(19680295,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2023,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19680295,8),0,Date::ITALY),DateTime.new0(Rational.new!(14761481,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2023,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14761481,6),0,Date::ITALY),DateTime.new0(Rational.new!(19683263,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2024,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19683263,8),0,Date::ITALY),DateTime.new0(Rational.new!(14763665,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2024,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14763665,6),0,Date::ITALY),DateTime.new0(Rational.new!(19686175,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2025,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19686175,8),0,Date::ITALY),DateTime.new0(Rational.new!(14765849,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2025,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14765849,6),0,Date::ITALY),DateTime.new0(Rational.new!(19689087,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2026,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19689087,8),0,Date::ITALY),DateTime.new0(Rational.new!(14768033,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2026,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14768033,6),0,Date::ITALY),DateTime.new0(Rational.new!(19691999,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2027,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19691999,8),0,Date::ITALY),DateTime.new0(Rational.new!(14770259,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2027,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14770259,6),0,Date::ITALY),DateTime.new0(Rational.new!(19694911,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2028,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19694911,8),0,Date::ITALY),DateTime.new0(Rational.new!(14772443,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2028,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14772443,6),0,Date::ITALY),DateTime.new0(Rational.new!(19697823,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2029,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19697823,8),0,Date::ITALY),DateTime.new0(Rational.new!(14774627,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2029,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14774627,6),0,Date::ITALY),DateTime.new0(Rational.new!(19700791,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2030,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19700791,8),0,Date::ITALY),DateTime.new0(Rational.new!(14776811,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2030,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14776811,6),0,Date::ITALY),DateTime.new0(Rational.new!(19703703,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2031,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19703703,8),0,Date::ITALY),DateTime.new0(Rational.new!(14778995,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2031,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14778995,6),0,Date::ITALY),DateTime.new0(Rational.new!(19706615,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2032,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19706615,8),0,Date::ITALY),DateTime.new0(Rational.new!(14781221,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2032,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14781221,6),0,Date::ITALY),DateTime.new0(Rational.new!(19709527,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2033,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19709527,8),0,Date::ITALY),DateTime.new0(Rational.new!(14783405,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2033,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14783405,6),0,Date::ITALY),DateTime.new0(Rational.new!(19712439,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2034,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19712439,8),0,Date::ITALY),DateTime.new0(Rational.new!(14785589,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2034,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14785589,6),0,Date::ITALY),DateTime.new0(Rational.new!(19715351,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2035,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19715351,8),0,Date::ITALY),DateTime.new0(Rational.new!(14787773,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2035,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14787773,6),0,Date::ITALY),DateTime.new0(Rational.new!(19718319,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2036,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19718319,8),0,Date::ITALY),DateTime.new0(Rational.new!(14789957,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2036,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14789957,6),0,Date::ITALY),DateTime.new0(Rational.new!(19721231,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2037,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19721231,8),0,Date::ITALY),DateTime.new0(Rational.new!(14792141,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2037,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14792141,6),0,Date::ITALY),DateTime.new0(Rational.new!(19724143,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2038,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19724143,8),0,Date::ITALY),DateTime.new0(Rational.new!(14794367,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2038,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14794367,6),0,Date::ITALY),DateTime.new0(Rational.new!(19727055,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2039,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19727055,8),0,Date::ITALY),DateTime.new0(Rational.new!(14796551,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2039,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14796551,6),0,Date::ITALY),DateTime.new0(Rational.new!(19729967,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2040,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19729967,8),0,Date::ITALY),DateTime.new0(Rational.new!(14798735,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2040,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14798735,6),0,Date::ITALY),DateTime.new0(Rational.new!(19732935,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2041,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19732935,8),0,Date::ITALY),DateTime.new0(Rational.new!(14800919,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2041,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14800919,6),0,Date::ITALY),DateTime.new0(Rational.new!(19735847,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2042,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19735847,8),0,Date::ITALY),DateTime.new0(Rational.new!(14803103,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2042,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14803103,6),0,Date::ITALY),DateTime.new0(Rational.new!(19738759,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2043,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19738759,8),0,Date::ITALY),DateTime.new0(Rational.new!(14805287,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2043,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14805287,6),0,Date::ITALY),DateTime.new0(Rational.new!(19741671,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2044,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19741671,8),0,Date::ITALY),DateTime.new0(Rational.new!(14807513,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2044,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14807513,6),0,Date::ITALY),DateTime.new0(Rational.new!(19744583,8),0,Date::ITALY),-25200,0,:'MST')} -add_period(2045,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19744583,8),0,Date::ITALY),DateTime.new0(Rational.new!(14809697,6),0,Date::ITALY),-25200,3600,:'MDT')} -add_period(2045,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14809697,6),0,Date::ITALY),nil,-25200,0,:'MST')} -end -end -end -end +require 'tzinfo/timezone' +module TZInfo +module Definitions #:nodoc: +module America #:nodoc: +class Mazatlan < Timezone #:nodoc: +setup +set_identifier('America/Mazatlan') +add_unbounded_start_period {TimezonePeriod.new(nil,DateTime.new0(Rational.new!(58153339,24),0,Date::ITALY),-25540,0,:LMT)} +add_period(1922,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(58153339,24),0,Date::ITALY),DateTime.new0(Rational.new!(9700171,4),0,Date::ITALY),-25200,0,:MST)} +add_period(1927,6) {TimezonePeriod.new(DateTime.new0(Rational.new!(9700171,4),0,Date::ITALY),DateTime.new0(Rational.new!(9705183,4),0,Date::ITALY),-21600,0,:CST)} +add_period(1930,11) {TimezonePeriod.new(DateTime.new0(Rational.new!(9705183,4),0,Date::ITALY),DateTime.new0(Rational.new!(9705855,4),0,Date::ITALY),-25200,0,:MST)} +add_period(1931,5) {TimezonePeriod.new(DateTime.new0(Rational.new!(9705855,4),0,Date::ITALY),DateTime.new0(Rational.new!(9706463,4),0,Date::ITALY),-21600,0,:CST)} +add_period(1931,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(9706463,4),0,Date::ITALY),DateTime.new0(Rational.new!(58243171,24),0,Date::ITALY),-25200,0,:MST)} +add_period(1932,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(58243171,24),0,Date::ITALY),DateTime.new0(Rational.new!(9721895,4),0,Date::ITALY),-21600,0,:CST)} +add_period(1942,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(9721895,4),0,Date::ITALY),DateTime.new0(Rational.new!(58390339,24),0,Date::ITALY),-25200,0,:MST)} +add_period(1949,1) {TimezonePeriod.new(DateTime.new0(Rational.new!(58390339,24),0,Date::ITALY),28800,-28800,0,:PST)} +add_period(1970,1) {TimezonePeriod.new(28800,828867600,-25200,0,:MST)} +add_period(1996,4) {TimezonePeriod.new(828867600,846403200,-25200,3600,:MDT)} +add_period(1996,10) {TimezonePeriod.new(846403200,860317200,-25200,0,:MST)} +add_period(1997,4) {TimezonePeriod.new(860317200,877852800,-25200,3600,:MDT)} +add_period(1997,10) {TimezonePeriod.new(877852800,891766800,-25200,0,:MST)} +add_period(1998,4) {TimezonePeriod.new(891766800,909302400,-25200,3600,:MDT)} +add_period(1998,10) {TimezonePeriod.new(909302400,923216400,-25200,0,:MST)} +add_period(1999,4) {TimezonePeriod.new(923216400,941356800,-25200,3600,:MDT)} +add_period(1999,10) {TimezonePeriod.new(941356800,954666000,-25200,0,:MST)} +add_period(2000,4) {TimezonePeriod.new(954666000,972806400,-25200,3600,:MDT)} +add_period(2000,10) {TimezonePeriod.new(972806400,989139600,-25200,0,:MST)} +add_period(2001,5) {TimezonePeriod.new(989139600,1001836800,-25200,3600,:MDT)} +add_period(2001,9) {TimezonePeriod.new(1001836800,1018170000,-25200,0,:MST)} +add_period(2002,4) {TimezonePeriod.new(1018170000,1035705600,-25200,3600,:MDT)} +add_period(2002,10) {TimezonePeriod.new(1035705600,1049619600,-25200,0,:MST)} +add_period(2003,4) {TimezonePeriod.new(1049619600,1067155200,-25200,3600,:MDT)} +add_period(2003,10) {TimezonePeriod.new(1067155200,1081069200,-25200,0,:MST)} +add_period(2004,4) {TimezonePeriod.new(1081069200,1099209600,-25200,3600,:MDT)} +add_period(2004,10) {TimezonePeriod.new(1099209600,1112518800,-25200,0,:MST)} +add_period(2005,4) {TimezonePeriod.new(1112518800,1130659200,-25200,3600,:MDT)} +add_period(2005,10) {TimezonePeriod.new(1130659200,1143968400,-25200,0,:MST)} +add_period(2006,4) {TimezonePeriod.new(1143968400,1162108800,-25200,3600,:MDT)} +add_period(2006,10) {TimezonePeriod.new(1162108800,1175418000,-25200,0,:MST)} +add_period(2007,4) {TimezonePeriod.new(1175418000,1193558400,-25200,3600,:MDT)} +add_period(2007,10) {TimezonePeriod.new(1193558400,1207472400,-25200,0,:MST)} +add_period(2008,4) {TimezonePeriod.new(1207472400,1225008000,-25200,3600,:MDT)} +add_period(2008,10) {TimezonePeriod.new(1225008000,1238922000,-25200,0,:MST)} +add_period(2009,4) {TimezonePeriod.new(1238922000,1256457600,-25200,3600,:MDT)} +add_period(2009,10) {TimezonePeriod.new(1256457600,1270371600,-25200,0,:MST)} +add_period(2010,4) {TimezonePeriod.new(1270371600,1288512000,-25200,3600,:MDT)} +add_period(2010,10) {TimezonePeriod.new(1288512000,1301821200,-25200,0,:MST)} +add_period(2011,4) {TimezonePeriod.new(1301821200,1319961600,-25200,3600,:MDT)} +add_period(2011,10) {TimezonePeriod.new(1319961600,1333270800,-25200,0,:MST)} +add_period(2012,4) {TimezonePeriod.new(1333270800,1351411200,-25200,3600,:MDT)} +add_period(2012,10) {TimezonePeriod.new(1351411200,1365325200,-25200,0,:MST)} +add_period(2013,4) {TimezonePeriod.new(1365325200,1382860800,-25200,3600,:MDT)} +add_period(2013,10) {TimezonePeriod.new(1382860800,1396774800,-25200,0,:MST)} +add_period(2014,4) {TimezonePeriod.new(1396774800,1414310400,-25200,3600,:MDT)} +add_period(2014,10) {TimezonePeriod.new(1414310400,1428224400,-25200,0,:MST)} +add_period(2015,4) {TimezonePeriod.new(1428224400,1445760000,-25200,3600,:MDT)} +add_period(2015,10) {TimezonePeriod.new(1445760000,1459674000,-25200,0,:MST)} +add_period(2016,4) {TimezonePeriod.new(1459674000,1477814400,-25200,3600,:MDT)} +add_period(2016,10) {TimezonePeriod.new(1477814400,1491123600,-25200,0,:MST)} +add_period(2017,4) {TimezonePeriod.new(1491123600,1509264000,-25200,3600,:MDT)} +add_period(2017,10) {TimezonePeriod.new(1509264000,1522573200,-25200,0,:MST)} +add_period(2018,4) {TimezonePeriod.new(1522573200,1540713600,-25200,3600,:MDT)} +add_period(2018,10) {TimezonePeriod.new(1540713600,1554627600,-25200,0,:MST)} +add_period(2019,4) {TimezonePeriod.new(1554627600,1572163200,-25200,3600,:MDT)} +add_period(2019,10) {TimezonePeriod.new(1572163200,1586077200,-25200,0,:MST)} +add_period(2020,4) {TimezonePeriod.new(1586077200,1603612800,-25200,3600,:MDT)} +add_period(2020,10) {TimezonePeriod.new(1603612800,1617526800,-25200,0,:MST)} +add_period(2021,4) {TimezonePeriod.new(1617526800,1635667200,-25200,3600,:MDT)} +add_period(2021,10) {TimezonePeriod.new(1635667200,1648976400,-25200,0,:MST)} +add_period(2022,4) {TimezonePeriod.new(1648976400,1667116800,-25200,3600,:MDT)} +add_period(2022,10) {TimezonePeriod.new(1667116800,1680426000,-25200,0,:MST)} +add_period(2023,4) {TimezonePeriod.new(1680426000,1698566400,-25200,3600,:MDT)} +add_period(2023,10) {TimezonePeriod.new(1698566400,1712480400,-25200,0,:MST)} +add_period(2024,4) {TimezonePeriod.new(1712480400,1730016000,-25200,3600,:MDT)} +add_period(2024,10) {TimezonePeriod.new(1730016000,1743930000,-25200,0,:MST)} +add_period(2025,4) {TimezonePeriod.new(1743930000,1761465600,-25200,3600,:MDT)} +add_period(2025,10) {TimezonePeriod.new(1761465600,1775379600,-25200,0,:MST)} +add_period(2026,4) {TimezonePeriod.new(1775379600,1792915200,-25200,3600,:MDT)} +add_period(2026,10) {TimezonePeriod.new(1792915200,1806829200,-25200,0,:MST)} +add_period(2027,4) {TimezonePeriod.new(1806829200,1824969600,-25200,3600,:MDT)} +add_period(2027,10) {TimezonePeriod.new(1824969600,1838278800,-25200,0,:MST)} +add_period(2028,4) {TimezonePeriod.new(1838278800,1856419200,-25200,3600,:MDT)} +add_period(2028,10) {TimezonePeriod.new(1856419200,1869728400,-25200,0,:MST)} +add_period(2029,4) {TimezonePeriod.new(1869728400,1887868800,-25200,3600,:MDT)} +add_period(2029,10) {TimezonePeriod.new(1887868800,1901782800,-25200,0,:MST)} +add_period(2030,4) {TimezonePeriod.new(1901782800,1919318400,-25200,3600,:MDT)} +add_period(2030,10) {TimezonePeriod.new(1919318400,1933232400,-25200,0,:MST)} +add_period(2031,4) {TimezonePeriod.new(1933232400,1950768000,-25200,3600,:MDT)} +add_period(2031,10) {TimezonePeriod.new(1950768000,1964682000,-25200,0,:MST)} +add_period(2032,4) {TimezonePeriod.new(1964682000,1982822400,-25200,3600,:MDT)} +add_period(2032,10) {TimezonePeriod.new(1982822400,1996131600,-25200,0,:MST)} +add_period(2033,4) {TimezonePeriod.new(1996131600,2014272000,-25200,3600,:MDT)} +add_period(2033,10) {TimezonePeriod.new(2014272000,2027581200,-25200,0,:MST)} +add_period(2034,4) {TimezonePeriod.new(2027581200,2045721600,-25200,3600,:MDT)} +add_period(2034,10) {TimezonePeriod.new(2045721600,2059030800,-25200,0,:MST)} +add_period(2035,4) {TimezonePeriod.new(2059030800,2077171200,-25200,3600,:MDT)} +add_period(2035,10) {TimezonePeriod.new(2077171200,2091085200,-25200,0,:MST)} +add_period(2036,4) {TimezonePeriod.new(2091085200,2108620800,-25200,3600,:MDT)} +add_period(2036,10) {TimezonePeriod.new(2108620800,2122534800,-25200,0,:MST)} +add_period(2037,4) {TimezonePeriod.new(2122534800,2140070400,-25200,3600,:MDT)} +add_period(2037,10) {TimezonePeriod.new(2140070400,DateTime.new0(Rational.new!(19724143,8),0,Date::ITALY),-25200,0,:MST)} +add_period(2038,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19724143,8),0,Date::ITALY),DateTime.new0(Rational.new!(14794367,6),0,Date::ITALY),-25200,3600,:MDT)} +add_period(2038,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14794367,6),0,Date::ITALY),DateTime.new0(Rational.new!(19727055,8),0,Date::ITALY),-25200,0,:MST)} +add_period(2039,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19727055,8),0,Date::ITALY),DateTime.new0(Rational.new!(14796551,6),0,Date::ITALY),-25200,3600,:MDT)} +add_period(2039,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14796551,6),0,Date::ITALY),DateTime.new0(Rational.new!(19729967,8),0,Date::ITALY),-25200,0,:MST)} +add_period(2040,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19729967,8),0,Date::ITALY),DateTime.new0(Rational.new!(14798735,6),0,Date::ITALY),-25200,3600,:MDT)} +add_period(2040,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14798735,6),0,Date::ITALY),DateTime.new0(Rational.new!(19732935,8),0,Date::ITALY),-25200,0,:MST)} +add_period(2041,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19732935,8),0,Date::ITALY),DateTime.new0(Rational.new!(14800919,6),0,Date::ITALY),-25200,3600,:MDT)} +add_period(2041,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14800919,6),0,Date::ITALY),DateTime.new0(Rational.new!(19735847,8),0,Date::ITALY),-25200,0,:MST)} +add_period(2042,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19735847,8),0,Date::ITALY),DateTime.new0(Rational.new!(14803103,6),0,Date::ITALY),-25200,3600,:MDT)} +add_period(2042,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14803103,6),0,Date::ITALY),DateTime.new0(Rational.new!(19738759,8),0,Date::ITALY),-25200,0,:MST)} +add_period(2043,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19738759,8),0,Date::ITALY),DateTime.new0(Rational.new!(14805287,6),0,Date::ITALY),-25200,3600,:MDT)} +add_period(2043,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14805287,6),0,Date::ITALY),DateTime.new0(Rational.new!(19741671,8),0,Date::ITALY),-25200,0,:MST)} +add_period(2044,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19741671,8),0,Date::ITALY),DateTime.new0(Rational.new!(14807513,6),0,Date::ITALY),-25200,3600,:MDT)} +add_period(2044,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14807513,6),0,Date::ITALY),DateTime.new0(Rational.new!(19744583,8),0,Date::ITALY),-25200,0,:MST)} +add_period(2045,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19744583,8),0,Date::ITALY),DateTime.new0(Rational.new!(14809697,6),0,Date::ITALY),-25200,3600,:MDT)} +add_period(2045,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14809697,6),0,Date::ITALY),DateTime.new0(Rational.new!(19747495,8),0,Date::ITALY),-25200,0,:MST)} +add_period(2046,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19747495,8),0,Date::ITALY),DateTime.new0(Rational.new!(14811881,6),0,Date::ITALY),-25200,3600,:MDT)} +add_period(2046,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14811881,6),0,Date::ITALY),DateTime.new0(Rational.new!(19750463,8),0,Date::ITALY),-25200,0,:MST)} +add_period(2047,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19750463,8),0,Date::ITALY),DateTime.new0(Rational.new!(14814065,6),0,Date::ITALY),-25200,3600,:MDT)} +add_period(2047,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14814065,6),0,Date::ITALY),DateTime.new0(Rational.new!(19753375,8),0,Date::ITALY),-25200,0,:MST)} +add_period(2048,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19753375,8),0,Date::ITALY),DateTime.new0(Rational.new!(14816249,6),0,Date::ITALY),-25200,3600,:MDT)} +add_period(2048,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14816249,6),0,Date::ITALY),DateTime.new0(Rational.new!(19756287,8),0,Date::ITALY),-25200,0,:MST)} +add_period(2049,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19756287,8),0,Date::ITALY),DateTime.new0(Rational.new!(14818475,6),0,Date::ITALY),-25200,3600,:MDT)} +add_period(2049,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14818475,6),0,Date::ITALY),DateTime.new0(Rational.new!(19759199,8),0,Date::ITALY),-25200,0,:MST)} +add_period(2050,4) {TimezonePeriod.new(DateTime.new0(Rational.new!(19759199,8),0,Date::ITALY),DateTime.new0(Rational.new!(14820659,6),0,Date::ITALY),-25200,3600,:MDT)} +add_period(2050,10) {TimezonePeriod.new(DateTime.new0(Rational.new!(14820659,6),0,Date::ITALY),nil,-25200,0,:MST)} +end +end +end +end