|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
__new__(T,
S,
...)
Returns:
a new object with type S, a subtype of T |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ctime(...)
Return ctime() style string. |
|
|
|
fromordinal(...)
int -> date corresponding to a proleptic Gregorian ordinal. |
|
|
|
fromtimestamp(...)
timestamp -> local date from a POSIX timestamp (like
time.time()). |
|
|
|
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(). |
|
|
|
today(...)
Current date or datetime: same as
self.__class__.fromtimestamp(time.time()). |
|
|
|
toordinal(...)
Return proleptic Gregorian ordinal. |
|
|
|
weekday(...)
Return the day of the week represented by the date. |
|
|
Inherited from object :
__delattr__ ,
__init__ ,
__reduce_ex__ ,
__setattr__
|