27 lines
574 B
Python
27 lines
574 B
Python
|
'''tzinfo timezone information for Africa/Nouakchott.'''
|
||
|
from pytz.tzinfo import DstTzInfo
|
||
|
from pytz.tzinfo import memorized_datetime as d
|
||
|
from pytz.tzinfo import memorized_ttinfo as i
|
||
|
|
||
|
class Nouakchott(DstTzInfo):
|
||
|
'''Africa/Nouakchott timezone definition. See datetime.tzinfo for details'''
|
||
|
|
||
|
zone = 'Africa/Nouakchott'
|
||
|
|
||
|
_utc_transition_times = [
|
||
|
d(1,1,1,0,0,0),
|
||
|
d(1912,1,1,1,3,48),
|
||
|
d(1934,2,26,0,0,0),
|
||
|
d(1960,11,28,1,0,0),
|
||
|
]
|
||
|
|
||
|
_transition_info = [
|
||
|
i(-3840,0,'LMT'),
|
||
|
i(0,0,'GMT'),
|
||
|
i(-3600,0,'WAT'),
|
||
|
i(0,0,'GMT'),
|
||
|
]
|
||
|
|
||
|
Nouakchott = Nouakchott()
|
||
|
|