How to use the pytz.tzinfo.memorized_ttinfo 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 / Asia / Kuwait.py View on Github external
from pytz.tzinfo import memorized_datetime as d
from pytz.tzinfo import memorized_ttinfo as i

class Kuwait(DstTzInfo):
    '''Asia/Kuwait timezone definition. See datetime.tzinfo for details'''

    zone = 'Asia/Kuwait'

    _utc_transition_times = [
d(1,1,1,0,0,0),
d(1949,12,31,20,48,4),
        ]

    _transition_info = [
i(11520,0,'LMT'),
i(10800,0,'AST'),
        ]

Kuwait = Kuwait()
github rfletcher / plex-mlb / bundle / Libraries / pytz / zoneinfo / Asia / Pyongyang.py View on Github external
_utc_transition_times = [
d(1,1,1,0,0,0),
d(1904,11,30,15,30,0),
d(1927,12,31,15,0,0),
d(1931,12,31,15,30,0),
d(1954,3,20,15,0,0),
d(1961,8,9,16,0,0),
        ]

    _transition_info = [
i(30600,0,'KST'),
i(32400,0,'KST'),
i(30600,0,'KST'),
i(32400,0,'KST'),
i(28800,0,'KST'),
i(32400,0,'KST'),
        ]

Pyongyang = Pyongyang()
github rfletcher / plex-mlb / bundle / Contents / Libraries / pytz / zoneinfo / Atlantic / Azores.py View on Github external
i(-7200,0,'AZOT'),
i(-3600,3600,'AZOST'),
i(0,7200,'AZOMT'),
i(-3600,3600,'AZOST'),
i(-7200,0,'AZOT'),
i(-3600,3600,'AZOST'),
i(0,7200,'AZOMT'),
i(-3600,3600,'AZOST'),
i(-7200,0,'AZOT'),
i(-3600,3600,'AZOST'),
i(-7200,0,'AZOT'),
i(-3600,3600,'AZOST'),
i(-7200,0,'AZOT'),
i(-3600,3600,'AZOST'),
i(-7200,0,'AZOT'),
i(-3600,3600,'AZOST'),
i(-7200,0,'AZOT'),
i(-3600,3600,'AZOST'),
i(-7200,0,'AZOT'),
i(-3600,3600,'AZOST'),
i(-7200,0,'AZOT'),
i(-3600,3600,'AZOST'),
i(-7200,0,'AZOT'),
i(-3600,3600,'AZOST'),
i(-7200,0,'AZOT'),
i(-3600,3600,'AZOST'),
i(-7200,0,'AZOT'),
i(-3600,3600,'AZOST'),
i(-7200,0,'AZOT'),
i(-3600,3600,'AZOST'),
i(-7200,0,'AZOT'),
i(-3600,3600,'AZOST'),
github rfletcher / plex-mlb / bundle / Contents / Libraries / pytz / zoneinfo / Asia / Dacca.py View on Github external
zone = 'Asia/Dacca'

    _utc_transition_times = [
d(1,1,1,0,0,0),
d(1941,9,30,18,6,40),
d(1942,5,14,17,30,0),
d(1942,8,31,18,30,0),
d(1951,9,29,17,30,0),
d(1971,3,25,18,0,0),
        ]

    _transition_info = [
i(21180,0,'HMT'),
i(23400,0,'BURT'),
i(19800,0,'IST'),
i(23400,0,'BURT'),
i(21600,0,'DACT'),
i(21600,0,'BDT'),
        ]

Dacca = Dacca()
github rfletcher / plex-mlb / bundle / Contents / Libraries / pytz / zoneinfo / America / Juneau.py View on Github external
i(-25200,3600,'PDT'),
i(-28800,0,'PST'),
i(-25200,3600,'PDT'),
i(-28800,0,'PST'),
i(-25200,3600,'PDT'),
i(-28800,0,'PST'),
i(-25200,3600,'PDT'),
i(-28800,0,'PST'),
i(-25200,3600,'PDT'),
i(-28800,0,'PST'),
i(-25200,3600,'PDT'),
i(-28800,0,'PST'),
i(-25200,3600,'PDT'),
i(-28800,0,'PST'),
i(-25200,3600,'PDT'),
i(-28800,0,'PST'),
i(-25200,3600,'PDT'),
i(-28800,0,'PST'),
i(-25200,3600,'PDT'),
i(-32400,0,'YST'),
i(-32400,0,'AKST'),
i(-28800,3600,'AKDT'),
i(-32400,0,'AKST'),
i(-28800,3600,'AKDT'),
i(-32400,0,'AKST'),
i(-28800,3600,'AKDT'),
i(-32400,0,'AKST'),
i(-28800,3600,'AKDT'),
i(-32400,0,'AKST'),
i(-28800,3600,'AKDT'),
i(-32400,0,'AKST'),
i(-28800,3600,'AKDT'),
github rfletcher / plex-mlb / bundle / Contents / Libraries / pytz / zoneinfo / Africa / Djibouti.py View on Github external
from pytz.tzinfo import memorized_datetime as d
from pytz.tzinfo import memorized_ttinfo as i

class Djibouti(DstTzInfo):
    '''Africa/Djibouti timezone definition. See datetime.tzinfo for details'''

    zone = 'Africa/Djibouti'

    _utc_transition_times = [
d(1,1,1,0,0,0),
d(1911,6,30,21,7,24),
        ]

    _transition_info = [
i(10380,0,'LMT'),
i(10800,0,'EAT'),
        ]

Djibouti = Djibouti()
github rfletcher / plex-mlb / bundle / Contents / Libraries / pytz / zoneinfo / America / Argentina / La_Rioja.py View on Github external
i(-7200,3600,'ARST'),
i(-10800,0,'ART'),
i(-7200,3600,'ARST'),
i(-10800,0,'ART'),
i(-7200,3600,'ARST'),
i(-10800,0,'ART'),
i(-7200,3600,'ARST'),
i(-14400,0,'WART'),
i(-10800,0,'ART'),
i(-7200,3600,'ARST'),
i(-10800,0,'ART'),
i(-7200,3600,'ARST'),
i(-10800,0,'ART'),
i(-10800,0,'ARST'),
i(-10800,0,'ART'),
i(-14400,0,'WART'),
i(-10800,0,'ART'),
        ]

La_Rioja = La_Rioja()
github rfletcher / plex-mlb / bundle / Contents / Libraries / pytz / zoneinfo / Africa / Nairobi.py View on Github external
'''Africa/Nairobi timezone definition. See datetime.tzinfo for details'''

    zone = 'Africa/Nairobi'

    _utc_transition_times = [
d(1,1,1,0,0,0),
d(1928,6,30,21,32,44),
d(1929,12,31,21,0,0),
d(1939,12,31,21,30,0),
d(1959,12,31,21,15,15),
        ]

    _transition_info = [
i(8820,0,'LMT'),
i(10800,0,'EAT'),
i(9000,0,'BEAT'),
i(9900,0,'BEAUT'),
i(10800,0,'EAT'),
        ]

Nairobi = Nairobi()
github rfletcher / plex-mlb / bundle / Contents / Libraries / pytz / zoneinfo / America / Puerto_Rico.py View on Github external
from pytz.tzinfo import memorized_ttinfo as i

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

    zone = 'America/Puerto_Rico'

    _utc_transition_times = [
d(1,1,1,0,0,0),
d(1942,5,3,4,0,0),
d(1945,8,14,23,0,0),
d(1945,9,30,5,0,0),
        ]

    _transition_info = [
i(-14400,0,'AST'),
i(-10800,3600,'AWT'),
i(-10800,3600,'APT'),
i(-14400,0,'AST'),
        ]

Puerto_Rico = Puerto_Rico()
github rfletcher / plex-mlb / bundle / Contents / Libraries / pytz / zoneinfo / America / Belem.py View on Github external
i(-7200,3600,'BRST'),
i(-10800,0,'BRT'),
i(-7200,3600,'BRST'),
i(-10800,0,'BRT'),
i(-7200,3600,'BRST'),
i(-10800,0,'BRT'),
i(-7200,3600,'BRST'),
i(-10800,0,'BRT'),
i(-7200,3600,'BRST'),
i(-10800,0,'BRT'),
i(-7200,3600,'BRST'),
i(-10800,0,'BRT'),
i(-7200,3600,'BRST'),
i(-10800,0,'BRT'),
i(-7200,3600,'BRST'),
i(-10800,0,'BRT'),
i(-7200,3600,'BRST'),
i(-10800,0,'BRT'),
        ]

Belem = Belem()