How to use the pytz.tzinfo.memorized_datetime function in pytz

To help you get started, we’ve selected a few pytz examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github rfletcher / plex-mlb / bundle / Contents / Libraries / pytz / zoneinfo / America / Asuncion.py View on Github external
d(2003,4,6,3,0,0),
d(2003,9,7,4,0,0),
d(2004,4,4,3,0,0),
d(2004,10,17,4,0,0),
d(2005,3,13,3,0,0),
d(2005,10,16,4,0,0),
d(2006,3,12,3,0,0),
d(2006,10,15,4,0,0),
d(2007,3,11,3,0,0),
d(2007,10,21,4,0,0),
d(2008,3,9,3,0,0),
d(2008,10,19,4,0,0),
d(2009,3,8,3,0,0),
d(2009,10,18,4,0,0),
d(2010,3,14,3,0,0),
d(2010,10,17,4,0,0),
d(2011,3,13,3,0,0),
d(2011,10,16,4,0,0),
d(2012,3,11,3,0,0),
d(2012,10,21,4,0,0),
d(2013,3,10,3,0,0),
d(2013,10,20,4,0,0),
d(2014,3,9,3,0,0),
d(2014,10,19,4,0,0),
d(2015,3,8,3,0,0),
d(2015,10,18,4,0,0),
d(2016,3,13,3,0,0),
d(2016,10,16,4,0,0),
d(2017,3,12,3,0,0),
d(2017,10,15,4,0,0),
d(2018,3,11,3,0,0),
d(2018,10,21,4,0,0),
github rfletcher / plex-mlb / bundle / Contents / Libraries / pytz / zoneinfo / Antarctica / South_Pole.py View on Github external
d(1989,3,4,14,0,0),
d(1989,10,7,14,0,0),
d(1990,3,17,14,0,0),
d(1990,10,6,14,0,0),
d(1991,3,16,14,0,0),
d(1991,10,5,14,0,0),
d(1992,3,14,14,0,0),
d(1992,10,3,14,0,0),
d(1993,3,20,14,0,0),
d(1993,10,2,14,0,0),
d(1994,3,19,14,0,0),
d(1994,10,1,14,0,0),
d(1995,3,18,14,0,0),
d(1995,9,30,14,0,0),
d(1996,3,16,14,0,0),
d(1996,10,5,14,0,0),
d(1997,3,15,14,0,0),
d(1997,10,4,14,0,0),
d(1998,3,14,14,0,0),
d(1998,10,3,14,0,0),
d(1999,3,20,14,0,0),
d(1999,10,2,14,0,0),
d(2000,3,18,14,0,0),
d(2000,9,30,14,0,0),
d(2001,3,17,14,0,0),
d(2001,10,6,14,0,0),
d(2002,3,16,14,0,0),
d(2002,10,5,14,0,0),
d(2003,3,15,14,0,0),
d(2003,10,4,14,0,0),
d(2004,3,20,14,0,0),
d(2004,10,2,14,0,0),
github rfletcher / plex-mlb / bundle / Contents / Libraries / pytz / zoneinfo / America / Havana.py View on Github external
d(1982,5,9,5,0,0),
d(1982,10,10,4,0,0),
d(1983,5,8,5,0,0),
d(1983,10,9,4,0,0),
d(1984,5,6,5,0,0),
d(1984,10,14,4,0,0),
d(1985,5,5,5,0,0),
d(1985,10,13,4,0,0),
d(1986,3,16,5,0,0),
d(1986,10,12,4,0,0),
d(1987,3,15,5,0,0),
d(1987,10,11,4,0,0),
d(1988,3,20,5,0,0),
d(1988,10,9,4,0,0),
d(1989,3,19,5,0,0),
d(1989,10,8,4,0,0),
d(1990,4,1,5,0,0),
d(1990,10,14,4,0,0),
d(1991,4,7,5,0,0),
d(1991,10,13,5,0,0),
d(1992,4,5,5,0,0),
d(1992,10,11,5,0,0),
d(1993,4,4,5,0,0),
d(1993,10,10,5,0,0),
d(1994,4,3,5,0,0),
d(1994,10,9,5,0,0),
d(1995,4,2,5,0,0),
d(1995,10,8,5,0,0),
d(1996,4,7,5,0,0),
d(1996,10,6,5,0,0),
d(1997,4,6,5,0,0),
d(1997,10,12,5,0,0),
github rfletcher / plex-mlb / bundle / Contents / Libraries / pytz / zoneinfo / America / Goose_Bay.py View on Github external
'''tzinfo timezone information for America/Goose_Bay.'''
from pytz.tzinfo import DstTzInfo
from pytz.tzinfo import memorized_datetime as d
from pytz.tzinfo import memorized_ttinfo as i

class Goose_Bay(DstTzInfo):
    '''America/Goose_Bay timezone definition. See datetime.tzinfo for details'''

    zone = 'America/Goose_Bay'

    _utc_transition_times = [
d(1,1,1,0,0,0),
d(1918,4,14,5,30,52),
d(1918,10,31,4,30,52),
d(1935,3,30,3,30,52),
d(1936,5,11,3,30,0),
d(1936,10,5,2,30,0),
d(1937,5,10,3,30,0),
d(1937,10,4,2,30,0),
d(1938,5,9,3,30,0),
d(1938,10,3,2,30,0),
d(1939,5,15,3,30,0),
d(1939,10,2,2,30,0),
d(1940,5,13,3,30,0),
d(1940,10,7,2,30,0),
d(1941,5,12,3,30,0),
d(1941,10,6,2,30,0),
d(1942,5,11,3,30,0),
d(1945,8,14,23,0,0),
d(1945,9,30,4,30,0),
github rfletcher / plex-mlb / bundle / Contents / Libraries / pytz / zoneinfo / America / Boise.py View on Github external
d(1981,10,25,8,0,0),
d(1982,4,25,9,0,0),
d(1982,10,31,8,0,0),
d(1983,4,24,9,0,0),
d(1983,10,30,8,0,0),
d(1984,4,29,9,0,0),
d(1984,10,28,8,0,0),
d(1985,4,28,9,0,0),
d(1985,10,27,8,0,0),
d(1986,4,27,9,0,0),
d(1986,10,26,8,0,0),
d(1987,4,5,9,0,0),
d(1987,10,25,8,0,0),
d(1988,4,3,9,0,0),
d(1988,10,30,8,0,0),
d(1989,4,2,9,0,0),
d(1989,10,29,8,0,0),
d(1990,4,1,9,0,0),
d(1990,10,28,8,0,0),
d(1991,4,7,9,0,0),
d(1991,10,27,8,0,0),
d(1992,4,5,9,0,0),
d(1992,10,25,8,0,0),
d(1993,4,4,9,0,0),
d(1993,10,31,8,0,0),
d(1994,4,3,9,0,0),
d(1994,10,30,8,0,0),
d(1995,4,2,9,0,0),
d(1995,10,29,8,0,0),
d(1996,4,7,9,0,0),
d(1996,10,27,8,0,0),
d(1997,4,6,9,0,0),
github rfletcher / plex-mlb / bundle / Contents / Libraries / pytz / zoneinfo / America / Rankin_Inlet.py View on Github external
d(2027,11,7,7,0,0),
d(2028,3,12,8,0,0),
d(2028,11,5,7,0,0),
d(2029,3,11,8,0,0),
d(2029,11,4,7,0,0),
d(2030,3,10,8,0,0),
d(2030,11,3,7,0,0),
d(2031,3,9,8,0,0),
d(2031,11,2,7,0,0),
d(2032,3,14,8,0,0),
d(2032,11,7,7,0,0),
d(2033,3,13,8,0,0),
d(2033,11,6,7,0,0),
d(2034,3,12,8,0,0),
d(2034,11,5,7,0,0),
d(2035,3,11,8,0,0),
d(2035,11,4,7,0,0),
d(2036,3,9,8,0,0),
d(2036,11,2,7,0,0),
d(2037,3,8,8,0,0),
d(2037,11,1,7,0,0),
        ]

    _transition_info = [
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CDT'),
i(-21600,0,'CST'),
i(-18000,3600,'CWT'),
i(-18000,3600,'CPT'),
i(-21600,0,'CST'),
github rfletcher / plex-mlb / bundle / Contents / Libraries / pytz / zoneinfo / America / Mendoza.py View on Github external
d(1931,4,1,3,0,0),
d(1931,10,15,4,0,0),
d(1932,3,1,3,0,0),
d(1932,11,1,4,0,0),
d(1933,3,1,3,0,0),
d(1933,11,1,4,0,0),
d(1934,3,1,3,0,0),
d(1934,11,1,4,0,0),
d(1935,3,1,3,0,0),
d(1935,11,1,4,0,0),
d(1936,3,1,3,0,0),
d(1936,11,1,4,0,0),
d(1937,3,1,3,0,0),
d(1937,11,1,4,0,0),
d(1938,3,1,3,0,0),
d(1938,11,1,4,0,0),
d(1939,3,1,3,0,0),
d(1939,11,1,4,0,0),
d(1940,3,1,3,0,0),
d(1940,7,1,4,0,0),
d(1941,6,15,3,0,0),
d(1941,10,15,4,0,0),
d(1943,8,1,3,0,0),
d(1943,10,15,4,0,0),
d(1946,3,1,3,0,0),
d(1946,10,1,4,0,0),
d(1963,10,1,3,0,0),
d(1963,12,15,4,0,0),
d(1964,3,1,3,0,0),
d(1964,10,15,4,0,0),
d(1965,3,1,3,0,0),
d(1965,10,15,4,0,0),
github rfletcher / plex-mlb / bundle / Contents / Libraries / pytz / zoneinfo / America / New_York.py View on Github external
d(1983,4,24,7,0,0),
d(1983,10,30,6,0,0),
d(1984,4,29,7,0,0),
d(1984,10,28,6,0,0),
d(1985,4,28,7,0,0),
d(1985,10,27,6,0,0),
d(1986,4,27,7,0,0),
d(1986,10,26,6,0,0),
d(1987,4,5,7,0,0),
d(1987,10,25,6,0,0),
d(1988,4,3,7,0,0),
d(1988,10,30,6,0,0),
d(1989,4,2,7,0,0),
d(1989,10,29,6,0,0),
d(1990,4,1,7,0,0),
d(1990,10,28,6,0,0),
d(1991,4,7,7,0,0),
d(1991,10,27,6,0,0),
d(1992,4,5,7,0,0),
d(1992,10,25,6,0,0),
d(1993,4,4,7,0,0),
d(1993,10,31,6,0,0),
d(1994,4,3,7,0,0),
d(1994,10,30,6,0,0),
d(1995,4,2,7,0,0),
d(1995,10,29,6,0,0),
d(1996,4,7,7,0,0),
d(1996,10,27,6,0,0),
d(1997,4,6,7,0,0),
d(1997,10,26,6,0,0),
d(1998,4,5,7,0,0),
d(1998,10,25,6,0,0),
github rfletcher / plex-mlb / bundle / Libraries / pytz / zoneinfo / Europe / Rome.py View on Github external
d(1967,5,27,23,0,0),
d(1967,9,23,22,0,0),
d(1968,5,25,23,0,0),
d(1968,9,21,22,0,0),
d(1969,5,31,23,0,0),
d(1969,9,27,22,0,0),
d(1970,5,30,23,0,0),
d(1970,9,26,22,0,0),
d(1971,5,22,23,0,0),
d(1971,9,25,23,0,0),
d(1972,5,27,23,0,0),
d(1972,9,30,22,0,0),
d(1973,6,2,23,0,0),
d(1973,9,29,22,0,0),
d(1974,5,25,23,0,0),
d(1974,9,28,22,0,0),
d(1975,5,31,23,0,0),
d(1975,9,27,23,0,0),
d(1976,5,29,23,0,0),
d(1976,9,25,23,0,0),
d(1977,5,21,23,0,0),
d(1977,9,24,23,0,0),
d(1978,5,27,23,0,0),
d(1978,9,30,23,0,0),
d(1979,5,26,23,0,0),
d(1979,9,29,23,0,0),
d(1979,12,31,23,0,0),
d(1980,4,6,1,0,0),
d(1980,9,28,1,0,0),
d(1981,3,29,1,0,0),
d(1981,9,27,1,0,0),
d(1982,3,28,1,0,0),
github rfletcher / plex-mlb / bundle / Contents / Libraries / pytz / zoneinfo / America / Indiana / Vincennes.py View on Github external
d(1946,9,29,7,0,0),
d(1953,4,26,8,0,0),
d(1953,9,27,7,0,0),
d(1954,4,25,8,0,0),
d(1954,9,26,7,0,0),
d(1955,5,1,6,0,0),
d(1955,9,25,7,0,0),
d(1956,4,29,8,0,0),
d(1956,9,30,7,0,0),
d(1957,4,28,8,0,0),
d(1957,9,29,7,0,0),
d(1958,4,27,8,0,0),
d(1958,9,28,7,0,0),
d(1959,4,26,8,0,0),
d(1959,9,27,7,0,0),
d(1960,4,24,8,0,0),
d(1960,10,30,7,0,0),
d(1961,4,30,8,0,0),
d(1961,9,24,7,0,0),
d(1962,4,29,8,0,0),
d(1962,10,28,7,0,0),
d(1963,4,28,8,0,0),
d(1963,10,27,7,0,0),
d(1964,4,26,8,0,0),
d(1969,4,27,7,0,0),
d(1969,10,26,6,0,0),
d(1970,4,26,7,0,0),
d(1970,10,25,6,0,0),
d(2006,4,2,7,0,0),
d(2006,10,29,7,0,0),
d(2007,3,11,8,0,0),
d(2007,11,4,7,0,0),