MCPcopy Create free account
hub / github.com/scottrogowski/code2flow / utcoffset

Method utcoffset

tests/test_code/py/pytz/__init__.py:408–409  ·  view source on GitHub ↗
(self, dt)

Source from the content-addressed store, hash-verified

406 self._offset = datetime.timedelta(minutes=minutes)
407
408 def utcoffset(self, dt):
409 return self._offset
410
411 def __reduce__(self):
412 return FixedOffset, (self._minutes, )

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected