| Home | Trees | Index | Help |
|
|---|
| Package lemon :: Package db :: Module date :: Class Time |
|
DateTime --+
|
Time
Constructs an object holding a time value. Is just another name binding for DateTime(). The date part is set to '2000-01-01'.
| Method Summary | |
|---|---|
__init__(self,
hour,
minute,
second,
sql,
obj)
| |
Return the time as a standard SQL string. | |
list(self)
| |
| Inherited from DateTime | |
| |
Enable dictionary-style attribute reading for year, month, day, hour, minute and second. | |
Return the object as standard SQL. | |
Return the date as a standard SQL string of the format 'YYYY-MM-DD'. | |
Return the date and time as a standard SQL string of the format 'YYYY-MM-DD HH:MM::SS.ss'. | |
Return the time as a standard SQL string in the format 'HH:MM::SS.ss'. | |
Return the date and time as a standard SQL timestamp string of the format 'YYYYMMDDHHMMSS'. | |
Returns the date and time as a python tuple as constructed by time.localtime(). | |
| Method Details |
|---|
asSQL(self)Return the time as a standard SQL string.
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Mon Nov 10 15:08:03 2003 | http://epydoc.sf.net |