1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-04 15:29:59 +00:00
calibre-web/vendor/pytz/zoneinfo/Pacific/Samoa.py

29 lines
603 B
Python
Raw Normal View History

'''tzinfo timezone information for Pacific/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):
'''Pacific/Samoa timezone definition. See datetime.tzinfo for details'''
zone = 'Pacific/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()