mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-18 03:25:37 +00:00
29 lines
588 B
Python
29 lines
588 B
Python
|
'''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()
|
||
|
|