module documentation

Class FixedOffsetTimeZoneTests Tests for FixedOffsetTimeZone.
Function addTZCleanup Add cleanup hooks to a test case to reset timezone to original value.
Function mktime Call mktime_real, and if it raises OverflowError, catch it and raise SkipTest instead.
Function setTZ Set time zone.
def addTZCleanup(testCase: TestCase):

Add cleanup hooks to a test case to reset timezone to original value.

Parameters
testCase:unittest.TestCasethe test case to add the cleanup to.
def mktime(t9: tuple[int, int, int, int, int, int, int, int, int]) -> float:

Call mktime_real, and if it raises OverflowError, catch it and raise SkipTest instead.

Parameters
t9:tupleA time as a 9-item tuple.
Returns
floatA timestamp.
def setTZ(name: str | None):

Set time zone.

Parameters
name:stra time zone name