Lines Matching refs:end
352 # If we didn't find a valid value for a given index, we'll end up
426 "end",
433 self, std_abbr, std_offset, dst_abbr, dst_offset, start=None, end=None
442 self.end = end
449 # by functions that would fail before passing start or end
451 assert end is not None, "No transition end specified"
458 end = self.end.year_to_epoch(year)
459 return start, end
463 start, end = self.transitions(year)
466 # smaller offset starts at the end of the gap and ends at the end of
474 end -= self.dst_diff
478 if start < end:
479 isdst = start <= ts < end
481 isdst = not (end <= ts < start)
486 start, end = self.transitions(year)
488 end -= self.dst.utcoff.total_seconds()
490 if start < end:
491 isdst = start <= ts < end
493 isdst = not (end <= ts < start)
495 # For positive DST, the ambiguous period is one dst_diff after the end
499 ambig_start = end
500 ambig_end = end + self.dst_diff
613 # end of the month and if so knock off 1 week.
626 # std[offset[dst[offset],start[/time],end[/time]]]
684 start, end = (_parse_dst_start_end(x) for x in start_end_strs)
688 return _TZStr(std_abbr, std_offset, dst_abbr, dst_offset, start, end)
704 raise ValueError(f"Invalid dst start/end date: {dststr}")