~ubuntu-branches/ubuntu/trusty/python-tz/trusty-updates

« back to all changes in this revision

Viewing changes to pytz/zoneinfo/Atlantic/Reykjavik.py

  • Committer: Bazaar Package Importer
  • Author(s): Brian Sutherland
  • Date: 2005-02-08 02:14:33 UTC
  • Revision ID: james.westby@ubuntu.com-20050208021433-t6c9teignwsm2ywo
Tags: upstream-2005a
ImportĀ upstreamĀ versionĀ 2005a

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
'''tzinfo timezone information for Atlantic/Reykjavik.'''
 
2
from pytz.tzinfo import DstTzInfo
 
3
from pytz.tzinfo import memorized_datetime as d
 
4
from pytz.tzinfo import memorized_ttinfo as i
 
5
 
 
6
class Reykjavik(DstTzInfo):
 
7
    '''Atlantic/Reykjavik timezone definition. See datetime.tzinfo for details'''
 
8
 
 
9
    _zone = 'Atlantic/Reykjavik'
 
10
 
 
11
    _utc_transition_times = [
 
12
d(1,1,1,0,0,0),
 
13
d(1908,1,1,1,27,48),
 
14
d(1917,2,20,0,0,0),
 
15
d(1917,10,21,1,0,0),
 
16
d(1918,2,20,0,0,0),
 
17
d(1918,11,16,1,0,0),
 
18
d(1939,4,30,0,0,0),
 
19
d(1939,11,29,2,0,0),
 
20
d(1940,2,25,3,0,0),
 
21
d(1940,11,3,2,0,0),
 
22
d(1941,3,2,2,0,0),
 
23
d(1941,11,2,2,0,0),
 
24
d(1942,3,8,2,0,0),
 
25
d(1942,10,25,2,0,0),
 
26
d(1943,3,7,2,0,0),
 
27
d(1943,10,24,2,0,0),
 
28
d(1944,3,5,2,0,0),
 
29
d(1944,10,22,2,0,0),
 
30
d(1945,3,4,2,0,0),
 
31
d(1945,10,28,2,0,0),
 
32
d(1946,3,3,2,0,0),
 
33
d(1946,10,27,2,0,0),
 
34
d(1947,4,6,2,0,0),
 
35
d(1947,10,26,2,0,0),
 
36
d(1948,4,4,2,0,0),
 
37
d(1948,10,24,2,0,0),
 
38
d(1949,4,3,2,0,0),
 
39
d(1949,10,30,2,0,0),
 
40
d(1950,4,2,2,0,0),
 
41
d(1950,10,22,2,0,0),
 
42
d(1951,4,1,2,0,0),
 
43
d(1951,10,28,2,0,0),
 
44
d(1952,4,6,2,0,0),
 
45
d(1952,10,26,2,0,0),
 
46
d(1953,4,5,2,0,0),
 
47
d(1953,10,25,2,0,0),
 
48
d(1954,4,4,2,0,0),
 
49
d(1954,10,24,2,0,0),
 
50
d(1955,4,3,2,0,0),
 
51
d(1955,10,23,2,0,0),
 
52
d(1956,4,1,2,0,0),
 
53
d(1956,10,28,2,0,0),
 
54
d(1957,4,7,2,0,0),
 
55
d(1957,10,27,2,0,0),
 
56
d(1958,4,6,2,0,0),
 
57
d(1958,10,26,2,0,0),
 
58
d(1959,4,5,2,0,0),
 
59
d(1959,10,25,2,0,0),
 
60
d(1960,4,3,2,0,0),
 
61
d(1960,10,23,2,0,0),
 
62
d(1961,4,2,2,0,0),
 
63
d(1961,10,22,2,0,0),
 
64
d(1962,4,1,2,0,0),
 
65
d(1962,10,28,2,0,0),
 
66
d(1963,4,7,2,0,0),
 
67
d(1963,10,27,2,0,0),
 
68
d(1964,4,5,2,0,0),
 
69
d(1964,10,25,2,0,0),
 
70
d(1965,4,4,2,0,0),
 
71
d(1965,10,24,2,0,0),
 
72
d(1966,4,3,2,0,0),
 
73
d(1966,10,23,2,0,0),
 
74
d(1967,4,2,2,0,0),
 
75
d(1967,10,29,2,0,0),
 
76
d(1968,4,7,2,0,0),
 
77
        ]
 
78
 
 
79
    _transition_info = [
 
80
i(-5280,0,'RMT'),
 
81
i(-3600,0,'IST'),
 
82
i(0,3600,'ISST'),
 
83
i(-3600,0,'IST'),
 
84
i(0,3600,'ISST'),
 
85
i(-3600,0,'IST'),
 
86
i(0,3600,'ISST'),
 
87
i(-3600,0,'IST'),
 
88
i(0,3600,'ISST'),
 
89
i(-3600,0,'IST'),
 
90
i(0,3600,'ISST'),
 
91
i(-3600,0,'IST'),
 
92
i(0,3600,'ISST'),
 
93
i(-3600,0,'IST'),
 
94
i(0,3600,'ISST'),
 
95
i(-3600,0,'IST'),
 
96
i(0,3600,'ISST'),
 
97
i(-3600,0,'IST'),
 
98
i(0,3600,'ISST'),
 
99
i(-3600,0,'IST'),
 
100
i(0,3600,'ISST'),
 
101
i(-3600,0,'IST'),
 
102
i(0,3600,'ISST'),
 
103
i(-3600,0,'IST'),
 
104
i(0,3600,'ISST'),
 
105
i(-3600,0,'IST'),
 
106
i(0,3600,'ISST'),
 
107
i(-3600,0,'IST'),
 
108
i(0,3600,'ISST'),
 
109
i(-3600,0,'IST'),
 
110
i(0,3600,'ISST'),
 
111
i(-3600,0,'IST'),
 
112
i(0,3600,'ISST'),
 
113
i(-3600,0,'IST'),
 
114
i(0,3600,'ISST'),
 
115
i(-3600,0,'IST'),
 
116
i(0,3600,'ISST'),
 
117
i(-3600,0,'IST'),
 
118
i(0,3600,'ISST'),
 
119
i(-3600,0,'IST'),
 
120
i(0,3600,'ISST'),
 
121
i(-3600,0,'IST'),
 
122
i(0,3600,'ISST'),
 
123
i(-3600,0,'IST'),
 
124
i(0,3600,'ISST'),
 
125
i(-3600,0,'IST'),
 
126
i(0,3600,'ISST'),
 
127
i(-3600,0,'IST'),
 
128
i(0,3600,'ISST'),
 
129
i(-3600,0,'IST'),
 
130
i(0,3600,'ISST'),
 
131
i(-3600,0,'IST'),
 
132
i(0,3600,'ISST'),
 
133
i(-3600,0,'IST'),
 
134
i(0,3600,'ISST'),
 
135
i(-3600,0,'IST'),
 
136
i(0,3600,'ISST'),
 
137
i(-3600,0,'IST'),
 
138
i(0,3600,'ISST'),
 
139
i(-3600,0,'IST'),
 
140
i(0,3600,'ISST'),
 
141
i(-3600,0,'IST'),
 
142
i(0,3600,'ISST'),
 
143
i(-3600,0,'IST'),
 
144
i(0,0,'GMT'),
 
145
        ]
 
146
 
 
147
Reykjavik = Reykjavik()
 
148