Trees | Indices | Help |
---|
|
Phony datetime object which mimics the python datetime object, but allows for dates that don't exist in the proleptic gregorian calendar. Doesn't do timedelta operations, doesn't overload + and -.
Has strftime, timetuple and __repr__ methods. The format of the string produced by __repr__ is controlled by self.format (default %Y-%m-%d %H:%M:%S).
Instance variables are year,month,day,hour,minute,second,dayofwk,dayofyr and format.
|
|||
|
__init__(self,
year,
month,
day,
hour=0,
minute=0,
second=0,
dayofwk=-1,
dayofyr=1) dayofyr set to 1 by default - otherwise time.strftime will complain |
||
| __repr__(self) | ||
| strftime(self, format=None) | ||
| timetuple(self) |
|
|
|
|
|
Trees | Indices | Help |
---|
Generated by Epydoc 3.0alpha3 on Tue Feb 13 19:56:15 2007 | http://epydoc.sourceforge.net |