Package dbf :: Module ver_32 :: Class Date
[hide private]
[frames] | no frames]

Class Date

source code

adds null capable datetime.date constructs

Instance Methods [hide private]
 
__new__(cls, year=None, month=0, day=0)
date should be either a datetime.date or date/month/day should all be appropriate integers
source code
 
__add__(self, other) source code
 
__eq__(self, other) source code
 
__format__(self, spec) source code
 
__getattr__(self, name) source code
 
__ge__(self, other) source code
 
__gt__(self, other) source code
 
__hash__(self) source code
 
__le__(self, other) source code
 
__lt__(self, other) source code
 
__ne__(self, other) source code
 
__bool__(self) source code
 
__radd__(self, other) source code
 
__rsub__(self, other) source code
 
__repr__(self) source code
 
__str__(self) source code
 
__sub__(self, other) source code
 
date(self) source code
 
replace(self, year=None, month=None, day=None, delta_year=0, delta_month=0, delta_day=0) source code
 
strftime(self, format) source code
 
ymd(self) source code
Class Methods [hide private]
 
fromordinal(cls, number) source code
 
fromtimestamp(cls, timestamp) source code
 
fromymd(cls, yyyymmdd) source code
 
strptime(cls, date_string, format=None) source code
 
today(cls) source code
Class Variables [hide private]
  max = Date(datetime.date.max)
  min = Date(datetime.date.min)
  _null_date = object.__new__(Date)