class documentation
class LocalTimezoneOffsetWithUTC(tzinfo): (source)
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), whereLocalis an instance of the objectLocalTimezoneOffsetWithUTC; - for such an object, it returns the offset with UTC, used for date comparisons.