Lines Matching refs:tz_str
227 trans_idx, trans_utc, utcoff, isdst, abbr, tz_str = _common.load_data(
261 if tz_str is not None and tz_str != b"":
262 self._tz_after = _parse_tz_str(tz_str.decode())
623 def _parse_tz_str(tz_str):
635 offset_str, *start_end_str = tz_str.split(",", 1)
651 raise ValueError(f"{tz_str} is not a valid TZ string")
666 raise ValueError(f"Invalid STD offset in {tz_str}") from e
675 raise ValueError(f"Invalid DST offset in {tz_str}") from e
680 raise ValueError(f"Missing transition rules: {tz_str}")
686 raise ValueError(f"Invalid TZ string: {tz_str}") from e
690 raise ValueError(f"Transition rule present without DST: {tz_str}")