1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-28 19:10:31 +00:00
calibre-web/vendor/pytz/zoneinfo/US/Samoa.py

29 lines
588 B
Python
Raw Normal View History

'''tzinfo timezone information for US/Samoa.'''
from pytz.tzinfo import DstTzInfo
from pytz.tzinfo import memorized_datetime as d
from pytz.tzinfo import memorized_ttinfo as i
class Samoa(DstTzInfo):
'''US/Samoa timezone definition. See datetime.tzinfo for details'''
zone = 'US/Samoa'
_utc_transition_times = [
d(1,1,1,0,0,0),
d(1911,1,1,11,22,48),
d(1950,1,1,11,30,0),
d(1967,4,1,11,0,0),
d(1983,11,30,11,0,0),
]
_transition_info = [
i(-40980,0,'LMT'),
i(-41400,0,'SAMT'),
i(-39600,0,'NST'),
i(-39600,0,'BST'),
i(-39600,0,'SST'),
]
Samoa = Samoa()