Home | Trees | Index | Help |
|
---|
Module datetime :: Class date |
|
object
--+
|
date
datetime
Method Summary | |
---|---|
Return ctime() style string. | |
Return a 3-tuple containing ISO year, week number, and weekday. | |
Return string in ISO 8601 format, YYYY-MM-DD. | |
Return the day of the week represented by the date. | |
Return date with new specified fields. | |
format -> strftime() style string. | |
Return time tuple, compatible with time.localtime(). | |
Return proleptic Gregorian ordinal. | |
Return the day of the week represented by the date. | |
Inherited from type | |
int -> date corresponding to a proleptic Gregorian ordinal. | |
timestamp -> local date from a POSIX timestamp (like time.time()). | |
Current date or datetime: same as self.__class__.fromtimestamp(time.time()). |
Class Variable Summary | |
---|---|
getset_descriptor |
day = <attribute 'day' of 'datetime.date' objects>
|
date |
max = datetime.date(9999, 12, 31)
|
date |
min = datetime.date(1, 1, 1)
|
getset_descriptor |
month = <attribute 'month' of 'datetime.date' objects>
|
timedelta |
resolution = datetime.timedelta(1)
|
getset_descriptor |
year = <attribute 'year' of 'datetime.date' objects>
|
Method Details |
---|
ctime(...)Return ctime() style string. |
isocalendar(...)Return a 3-tuple containing ISO year, week number, and weekday. |
isoformat(...)Return string in ISO 8601 format, YYYY-MM-DD. |
isoweekday(...)Return the day of the week represented by the date. Monday == 1 ... Sunday == 7 |
replace(...)Return date with new specified fields. |
strftime(...)format -> strftime() style string. |
timetuple(...)Return time tuple, compatible with time.localtime(). |
toordinal(...)Return proleptic Gregorian ordinal. January 1 of year 1 is day 1. |
weekday(...)Return the day of the week represented by the date. Monday == 0 ... Sunday == 6 |
Class Variable Details |
---|
day
|
max
|
min
|
month
|
resolution
|
year
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Mon Oct 9 12:40:59 2006 | http://epydoc.sf.net |