Home | History | Annotate | Download | only in includes

Lines Matching defs:dst

17     def dst(self, dt):
39 def dst(self, dt):
62 def dst(self, dt):
82 # A complete implementation of current DST rules for major US time zones.
91 # US DST Rules
94 # DST start and end times. For a complete and up-to-date set of DST rules
99 # In the US, since 2007, DST starts at 2am (standard time) on the second
102 # and ends at 2am (DST time; 1am standard time) on the first Sunday of Nov.
104 # From 1987 to 2006, DST used to start at 2am (standard time) on the first
105 # Sunday in April and to end at 2am (DST time; 1am standard time) on the last
109 # From 1967 to 1986, DST used to start at 2am (standard time) on the last
110 # Sunday in April (the one on or after April 24) and to end at 2am (DST time;
128 if self.dst(dt):
134 return self.stdoffset + self.dst(dt)
136 def dst(self, dt):
145 # Find start and end times for US DST. For years before 1967, return
146 # ZERO for no DST.