Method Summary |
|
__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 |
(cls, state) |
__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. |
|
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. |
|
weekday (...)
Return the day of the week represented by the date. |
Inherited from object |
|
__init__ (...)
x.__init__(...) initializes x; see x.__class__.__doc__ for
signature |
|
__delattr__ (...)
x.__delattr__('name') <==> del x.name |
|
__reduce_ex__ (...)
helper for pickle |
|
__setattr__ (...)
x.__setattr__('name', value) <==> x.name = value |
Inherited from type |
|
fromordinal (...)
int -> date corresponding to a proleptic Gregorian ordinal. |
|
fromtimestamp (...)
timestamp -> local date from a POSIX timestamp (like
time.time()). |
|
today (...)
Current date or datetime: same as
self.__class__.fromtimestamp(time.time()). |