MCPcopy Create free account
hub / github.com/ipython/ipython / tzUTC

Class tzUTC

IPython/utils/tz.py:27–34  ·  view source on GitHub ↗

tzinfo object for UTC (zero offset)

Source from the content-addressed store, hash-verified

25ZERO = timedelta(0)
26
27class tzUTC(tzinfo):
28 """tzinfo object for UTC (zero offset)"""
29
30 def utcoffset(self, d):
31 return ZERO
32
33 def dst(self, d):
34 return ZERO
35
36UTC = tzUTC()
37

Callers 1

tz.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected