class documentation

class LocalTimezoneOffsetWithUTC(tzinfo): (source)

View In Hierarchy

This is not intended to be a general purpose class for dealing with the local timezone. In particular:

  • it assumes that the date passed has been created using datetime(..., tzinfo=Local), where Local is an instance of the object LocalTimezoneOffsetWithUTC;
  • for such an object, it returns the offset with UTC, used for date comparisons.

Reference: https://docs.python.org/3/library/datetime.html

Method utcoffset Access the relevant time offset.
Constant STDOFFSET Undocumented
Class Variable DSTOFFSET Undocumented
def utcoffset(self, dt): (source)

Access the relevant time offset.

STDOFFSET = (source)

Undocumented

Value
timedelta(seconds=(-_time.timezone))
DSTOFFSET = (source)

Undocumented