kevin
index
/home/ping/web/bc/date/kevin.py

 
Classes
            
Date
 
class Date
       
   Methods defined here:
__cmp__(self, otherdate)
__init__(self, *data)
 Instantation where data is either a string in the format of YYYY-MM-DD or three integers of year month and day.  Note: does not error check it is going to be ONLY either of these two cases
adddays(self, number)
 prints date + days and changes self to new date
dayafter(self)
 prints next day.  changes self to new date
daybefore(self)
 print prevoius day.  changes self to new date
daysinfeb(self, year)
daysinmonth(self, month, year)
format1(self)
 Converts date to string in format YYYY-MM-DD
format2(self)
Converts date to string in format February 26, 2003
monthstring(self, number)
subtractdays(self, number)
 prints date - days and changes self to new date

Data and non-method functions defined here:
__doc__ = None
__module__ = 'kevin'

 
Data
             __file__ = './kevin.pyc'
__name__ = 'kevin'