Trees | Index | Help |
|
---|
Module datetime :: Class date |
|
object
--+
|
date
datetime
Method Summary | |
---|---|
x.__add__(y) <==> x+y | |
x.__eq__(y) <==> x==y | |
x.__ge__(y) <==> x>=y | |
x.__getattribute__('name') <==> x.name | |
x.__gt__(y) <==> x>y | |
x.__hash__() <==> hash(x) | |
x.__le__(y) <==> x<=y | |
x.__lt__(y) <==> x<y | |
x.__ne__(y) <==> x!=y | |
T.__new__(S, ...) -> a new object with type S, a subtype of T | |
x.__radd__(y) <==> y+x | |
(cls, state) |
__reduce__() -> (cls, state) |
x.__repr__() <==> repr(x) | |
x.__rsub__(y) <==> y-x | |
x.__str__() <==> str(x) | |
x.__sub__(y) <==> x-y | |
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 object | |
x.__init__(...) initializes x; see x.__class__.__doc__ for signature | |
x.__delattr__('name') <==> del x.name | |
helper for pickle | |
x.__setattr__('name', value) <==> x.name = value | |
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 |
---|
__add__(x,
y)
x.__add__(y) <==> x+y
|
__eq__(x,
y)
x.__eq__(y) <==> x==y
|
__ge__(x,
y)
x.__ge__(y) <==> x>=y
|
__getattribute__(...)x.__getattribute__('name') <==> x.name
|
__gt__(x,
y)
x.__gt__(y) <==> x>y
|
__hash__(x)
x.__hash__() <==> hash(x)
|
__le__(x,
y)
x.__le__(y) <==> x<=y
|
__lt__(x,
y)
x.__lt__(y) <==> x<y
|
__ne__(x, y)x.__ne__(y) <==> x!=y
|
__new__(T, S, ...)T.__new__(S, ...) -> a new object with type S, a subtype of T
|
__radd__(x,
y)
x.__radd__(y) <==> y+x
|
__reduce__()__reduce__() -> (cls, state)
|
__repr__(x)
x.__repr__() <==> repr(x)
|
__rsub__(x, y)x.__rsub__(y) <==> y-x
|
__str__(x)
x.__str__() <==> str(x)
|
__sub__(x,
y)
x.__sub__(y) <==> x-y
|
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
|
Trees | Index | Help |
|
---|
Generated by Epydoc 2.1 on Fri Jun 24 12:01:22 2005 | http://epydoc.sf.net |