Package dbf :: Module dates :: Class DateTime
[hide private]

Class DateTime

source code

object --+
         |
        DateTime

adds null capable datetime.datetime constructs

Instance Methods [hide private]
 
__add__(yo, other) source code
 
__eq__(yo, other) source code
 
__getattr__(yo, name) source code
 
__ge__(yo, other) source code
 
__gt__(yo, other) source code
 
__hash__(yo)
hash(x)
source code
 
__le__(yo, other) source code
 
__lt__(yo, other) source code
 
__ne__(yo, other) source code
 
__nonzero__(yo) source code
 
__radd__(yo, other) source code
 
__rsub__(yo, other) source code
 
__repr__(yo)
repr(x)
source code
 
__str__(yo)
str(x)
source code
 
__sub__(yo, other) source code
 
date(yo) source code
 
datetime(yo) source code
 
time(yo) source code

Inherited from object: __delattr__, __getattribute__, __init__, __reduce__, __reduce_ex__, __setattr__

Class Methods [hide private]
 
combine(cls, date, time) source code
 
fromordinal(cls, number) source code
 
fromtimestamp(cls, timestamp) source code
 
now(cls) source code
 
utcnow(cls) source code
 
today(cls) source code
Static Methods [hide private]
a new object with type S, a subtype of T
__new__(cls, year=None, month=0, day=0, hour=0, minute=0, second=0, microsec=0)
year may be a datetime.datetime
source code
Class Variables [hide private]
  max = DateTime(9999, 12, 31, 23, 59, 59, 4, 365, -1)
  min = DateTime(1, 1, 1, 0, 0, 0, 0, 1, -1)
Properties [hide private]
  _datetime

Inherited from object: __class__

Method Details [hide private]

__new__(cls, year=None, month=0, day=0, hour=0, minute=0, second=0, microsec=0)
Static Method

source code 

year may be a datetime.datetime

Returns: a new object with type S, a subtype of T
Overrides: object.__new__

__hash__(yo)
(Hashing function)

source code 

hash(x)

Overrides: object.__hash__
(inherited documentation)

__repr__(yo)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

__str__(yo)
(Informal representation operator)

source code 

str(x)

Overrides: object.__str__
(inherited documentation)