MCPcopy Index your code
hub / github.com/RustPython/RustPython / ZoneOffset

Class ZoneOffset

Lib/test/test_zoneinfo/test_zoneinfo.py:2027–2030  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2025
2026@dataclasses.dataclass(frozen=True)
2027class ZoneOffset:
2028 tzname: str
2029 utcoffset: timedelta
2030 dst: timedelta = ZERO
2031
2032
2033@dataclasses.dataclass(frozen=True)

Callers 15

test_one_transitionMethod · 0.85
test_one_zone_dstMethod · 0.85
test_no_tz_strMethod · 0.85
test_tz_before_onlyMethod · 0.85
_addMethod · 0.85
_Africa_AbidjanMethod · 0.85
_Africa_CasablancaMethod · 0.85
_America_Los_AngelesMethod · 0.85
_America_SantiagoMethod · 0.85

Calls

no outgoing calls

Tested by 15

test_one_transitionMethod · 0.68
test_one_zone_dstMethod · 0.68
test_no_tz_strMethod · 0.68
test_tz_before_onlyMethod · 0.68
_addMethod · 0.68
_Africa_AbidjanMethod · 0.68
_Africa_CasablancaMethod · 0.68
_America_Los_AngelesMethod · 0.68
_America_SantiagoMethod · 0.68