mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-25 02:57:22 +00:00
25 lines
520 B
Python
25 lines
520 B
Python
|
'''tzinfo timezone information for Kwajalein.'''
|
||
|
from pytz.tzinfo import DstTzInfo
|
||
|
from pytz.tzinfo import memorized_datetime as d
|
||
|
from pytz.tzinfo import memorized_ttinfo as i
|
||
|
|
||
|
class Kwajalein(DstTzInfo):
|
||
|
'''Kwajalein timezone definition. See datetime.tzinfo for details'''
|
||
|
|
||
|
zone = 'Kwajalein'
|
||
|
|
||
|
_utc_transition_times = [
|
||
|
d(1,1,1,0,0,0),
|
||
|
d(1969,9,30,13,0,0),
|
||
|
d(1993,8,20,12,0,0),
|
||
|
]
|
||
|
|
||
|
_transition_info = [
|
||
|
i(39600,0,'MHT'),
|
||
|
i(-43200,0,'KWAT'),
|
||
|
i(43200,0,'MHT'),
|
||
|
]
|
||
|
|
||
|
Kwajalein = Kwajalein()
|
||
|
|