dblite  1.3.0
Simple query interface for SQL databases
dblite.util.StaticTzInfo Class Reference

datetime.tzinfo class representing a constant offset from UTC. More...

Inheritance diagram for dblite.util.StaticTzInfo:
Inheritance graph

Public Member Functions

def __init__ (self, name, delta)
 Constructs a new static zone info, with specified name and time delta. More...
 
def __eq__ (self, other)
 
def __ne__ (self, other)
 
def __repr__ (self)
 
def dst (self, dt)
 
def tzname (self, dt)
 
def utcoffset (self, dt)
 

Static Public Attributes

 ZERO = datetime.timedelta(0)
 

Detailed Description

datetime.tzinfo class representing a constant offset from UTC.

Definition at line 30 of file util.py.

Constructor & Destructor Documentation

◆ __init__()

def dblite.util.StaticTzInfo.__init__ (   self,
  name,
  delta 
)

Constructs a new static zone info, with specified name and time delta.

Definition at line 34 of file util.py.

Member Function Documentation

◆ __eq__()

def dblite.util.StaticTzInfo.__eq__ (   self,
  other 
)

Definition at line 44 of file util.py.

◆ __ne__()

def dblite.util.StaticTzInfo.__ne__ (   self,
  other 
)

Definition at line 42 of file util.py.

◆ __repr__()

def dblite.util.StaticTzInfo.__repr__ (   self)

Definition at line 43 of file util.py.

◆ dst()

def dblite.util.StaticTzInfo.dst (   self,
  dt 
)

Definition at line 40 of file util.py.

◆ tzname()

def dblite.util.StaticTzInfo.tzname (   self,
  dt 
)

Definition at line 41 of file util.py.

◆ utcoffset()

def dblite.util.StaticTzInfo.utcoffset (   self,
  dt 
)

Definition at line 39 of file util.py.

Member Data Documentation

◆ ZERO

dblite.util.StaticTzInfo.ZERO = datetime.timedelta(0)
static

Definition at line 32 of file util.py.


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