Lines Matching refs:dst
108 def dst(self, dt):
231 # Infer the DST offsets (needed for .dst()) from the data
273 # of the utcoffset, dst and tzname functions does not depend on the
301 # but there is an issue: .dst() must return a timedelta with the
319 dst = isdsts[idx]
322 if not dst:
424 "dst",
446 self.dst = _ttinfo(utcoff=dst_offset, dstoff=delta, tzname=dst_abbr)
483 return self.dst if isdst else self.std
488 end -= self.dst.utcoff.total_seconds()
507 return (self.dst if isdst else self.std, fold)
626 # std[offset[dst[offset],start[/time],end[/time]]]
628 # std and dst must be 3 or more characters long and must not contain
641 r"((?P<dst>[^0-9:.+-]+|<[a-zA-Z0-9+\-]+>)" +
643 r")?" + # dst
654 dst_abbr = m.group("dst")
704 raise ValueError(f"Invalid dst start/end date: {dststr}")