MCPcopy Create free account
hub / github.com/dateutil/dateutil / _from_timestamp

Function _from_timestamp

tests/test_tzpath_data.py:38–43  ·  view source on GitHub ↗
(ts)

Source from the content-addressed store, hash-verified

36
37
38def _from_timestamp(ts):
39 try:
40 return EPOCH + timedelta(seconds=ts)
41 except OverflowError:
42 # e.g. the "big bang" transitions at -2**59 in fat files
43 return None
44
45
46def _probe_instants(zone):

Callers 2

_probe_instantsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected