Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dateutil/dateutil
/ _valid_tzif_data
Function
_valid_tzif_data
tests/test_tzfile.py:1905–1909 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
1903
1904
1905
def
_valid_tzif_data():
1906
STD = ZoneOffset(
"STD"
, ZERO)
1907
return
construct_zone(
1908
[ZoneTransition(datetime(2020, 1, 1), STD, STD)],
"STD0"
1909
).read()
1910
1911
1912
def
_unreadable_file(path):
Callers
3
_unreadable_file
Function · 0.85
test_tzfile.py
File · 0.85
test_gettz_skips_invalid_file_on_tzpath
Function · 0.85
Calls
4
ZoneOffset
Class · 0.85
construct_zone
Function · 0.85
ZoneTransition
Class · 0.85
read
Method · 0.45
Tested by
no test coverage detected