mirror of
https://github.com/janeczku/calibre-web
synced 2024-12-25 01:20:32 +00:00
25 lines
544 B
Python
25 lines
544 B
Python
|
'''tzinfo timezone information for Pacific/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):
|
||
|
'''Pacific/Kwajalein timezone definition. See datetime.tzinfo for details'''
|
||
|
|
||
|
zone = 'Pacific/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()
|
||
|
|