OpenQuizz
Une application de gestion des contenus pédagogiques
FixedOffset Class Reference
Inheritance diagram for FixedOffset:
Collaboration diagram for FixedOffset:

Public Member Functions

def __init__ (self, offset, name)
 
def __getinitargs__ (self)
 
def utcoffset (self, dt)
 
def tzname (self, dt)
 
def dst (self, dt)
 

Detailed Description

Fixed offset timezone, in minutes east from UTC.

Implementation based from the Python `standard library documentation
<http://docs.python.org/library/datetime.html#tzinfo-objects>`_.
Defining __getinitargs__ enables pickling / copying.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  offset,
  name 
)

Member Function Documentation

◆ __getinitargs__()

def __getinitargs__ (   self)

◆ dst()

def dst (   self,
  dt 
)

◆ tzname()

def tzname (   self,
  dt 
)

◆ utcoffset()

def utcoffset (   self,
  dt 
)

The documentation for this class was generated from the following file: