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

« back to all changes in this revision

Viewing changes to pytz/zoneinfo/Brazil/DeNoronha.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 Brazil/DeNoronha.'''
 
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 DeNoronha(DstTzInfo):
 
7
    '''Brazil/DeNoronha timezone definition. See datetime.tzinfo for details'''
 
8
 
 
9
    _zone = 'Brazil/DeNoronha'
 
10
 
 
11
    _utc_transition_times = [
 
12
d(1,1,1,0,0,0),
 
13
d(1914,1,1,2,9,40),
 
14
d(1931,10,3,13,0,0),
 
15
d(1932,4,1,1,0,0),
 
16
d(1932,10,3,2,0,0),
 
17
d(1933,4,1,1,0,0),
 
18
d(1949,12,1,2,0,0),
 
19
d(1950,4,16,2,0,0),
 
20
d(1950,12,1,2,0,0),
 
21
d(1951,4,1,1,0,0),
 
22
d(1951,12,1,2,0,0),
 
23
d(1952,4,1,1,0,0),
 
24
d(1952,12,1,2,0,0),
 
25
d(1953,3,1,1,0,0),
 
26
d(1963,12,9,2,0,0),
 
27
d(1964,3,1,1,0,0),
 
28
d(1965,1,31,2,0,0),
 
29
d(1965,3,31,1,0,0),
 
30
d(1965,12,1,2,0,0),
 
31
d(1966,3,1,1,0,0),
 
32
d(1966,11,1,2,0,0),
 
33
d(1967,3,1,1,0,0),
 
34
d(1967,11,1,2,0,0),
 
35
d(1968,3,1,1,0,0),
 
36
d(1985,11,2,2,0,0),
 
37
d(1986,3,15,1,0,0),
 
38
d(1986,10,25,2,0,0),
 
39
d(1987,2,14,1,0,0),
 
40
d(1987,10,25,2,0,0),
 
41
d(1988,2,7,1,0,0),
 
42
d(1988,10,16,2,0,0),
 
43
d(1989,1,29,1,0,0),
 
44
d(1989,10,15,2,0,0),
 
45
d(1990,2,11,1,0,0),
 
46
d(1999,10,3,2,0,0),
 
47
d(2000,2,27,1,0,0),
 
48
d(2000,10,8,2,0,0),
 
49
d(2000,10,15,1,0,0),
 
50
d(2001,10,14,2,0,0),
 
51
d(2002,2,17,1,0,0),
 
52
        ]
 
53
 
 
54
    _transition_info = [
 
55
i(-7800,0,'LMT'),
 
56
i(-7200,0,'FNT'),
 
57
i(-3600,3600,'FNST'),
 
58
i(-7200,0,'FNT'),
 
59
i(-3600,3600,'FNST'),
 
60
i(-7200,0,'FNT'),
 
61
i(-3600,3600,'FNST'),
 
62
i(-7200,0,'FNT'),
 
63
i(-3600,3600,'FNST'),
 
64
i(-7200,0,'FNT'),
 
65
i(-3600,3600,'FNST'),
 
66
i(-7200,0,'FNT'),
 
67
i(-3600,3600,'FNST'),
 
68
i(-7200,0,'FNT'),
 
69
i(-3600,3600,'FNST'),
 
70
i(-7200,0,'FNT'),
 
71
i(-3600,3600,'FNST'),
 
72
i(-7200,0,'FNT'),
 
73
i(-3600,3600,'FNST'),
 
74
i(-7200,0,'FNT'),
 
75
i(-3600,3600,'FNST'),
 
76
i(-7200,0,'FNT'),
 
77
i(-3600,3600,'FNST'),
 
78
i(-7200,0,'FNT'),
 
79
i(-3600,3600,'FNST'),
 
80
i(-7200,0,'FNT'),
 
81
i(-3600,3600,'FNST'),
 
82
i(-7200,0,'FNT'),
 
83
i(-3600,3600,'FNST'),
 
84
i(-7200,0,'FNT'),
 
85
i(-3600,3600,'FNST'),
 
86
i(-7200,0,'FNT'),
 
87
i(-3600,3600,'FNST'),
 
88
i(-7200,0,'FNT'),
 
89
i(-3600,3600,'FNST'),
 
90
i(-7200,0,'FNT'),
 
91
i(-3600,3600,'FNST'),
 
92
i(-7200,0,'FNT'),
 
93
i(-3600,3600,'FNST'),
 
94
i(-7200,0,'FNT'),
 
95
        ]
 
96
 
 
97
DeNoronha = DeNoronha()
 
98