File: HST10.py

package info (click to toggle)
python-tz 2005a-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 3,364 kB
  • ctags: 2,903
  • sloc: python: 84,245; makefile: 41
file content (32 lines) | stat: -rw-r--r-- 694 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
'''tzinfo timezone information for SystemV/HST10.'''
from pytz.tzinfo import DstTzInfo
from pytz.tzinfo import memorized_datetime as d
from pytz.tzinfo import memorized_ttinfo as i

class HST10(DstTzInfo):
    '''SystemV/HST10 timezone definition. See datetime.tzinfo for details'''

    _zone = 'SystemV/HST10'

    _utc_transition_times = [
d(1,1,1,0,0,0),
d(1933,4,30,12,30,0),
d(1933,5,21,11,30,0),
d(1942,2,9,12,30,0),
d(1945,8,14,23,0,0),
d(1945,9,30,11,30,0),
d(1947,6,8,12,30,0),
        ]

    _transition_info = [
i(-37800,0,'HST'),
i(-34200,3600,'HDT'),
i(-37800,0,'HST'),
i(-34200,3600,'HWT'),
i(-34200,3600,'HPT'),
i(-37800,0,'HST'),
i(-36000,0,'HST'),
        ]

HST10 = HST10()