|
#define | _PyDateTime_DATE_DATASIZE 4 |
|
#define | _PyDateTime_TIME_DATASIZE 6 |
|
#define | _PyDateTime_DATETIME_DATASIZE 10 |
|
#define | _PyTZINFO_HEAD |
|
#define | _PyDateTime_TIMEHEAD |
|
#define | _PyDateTime_DATETIMEHEAD |
|
#define | PyDateTime_GET_YEAR(o) |
|
#define | PyDateTime_GET_MONTH(o) (((PyDateTime_Date*)o)->data[2]) |
|
#define | PyDateTime_GET_DAY(o) (((PyDateTime_Date*)o)->data[3]) |
|
#define | PyDateTime_DATE_GET_HOUR(o) (((PyDateTime_DateTime*)o)->data[4]) |
|
#define | PyDateTime_DATE_GET_MINUTE(o) (((PyDateTime_DateTime*)o)->data[5]) |
|
#define | PyDateTime_DATE_GET_SECOND(o) (((PyDateTime_DateTime*)o)->data[6]) |
|
#define | PyDateTime_DATE_GET_MICROSECOND(o) |
|
#define | PyDateTime_TIME_GET_HOUR(o) (((PyDateTime_Time*)o)->data[0]) |
|
#define | PyDateTime_TIME_GET_MINUTE(o) (((PyDateTime_Time*)o)->data[1]) |
|
#define | PyDateTime_TIME_GET_SECOND(o) (((PyDateTime_Time*)o)->data[2]) |
|
#define | PyDateTime_TIME_GET_MICROSECOND(o) |
|
#define | PyDateTime_CAPSULE_NAME "datetime.datetime_CAPI" |
|
#define | DATETIME_API_MAGIC 0x414548d5 |
|
#define | PyDateTime_IMPORT PyDateTimeAPI = (PyDateTime_CAPI *)PyCapsule_Import(PyDateTime_CAPSULE_NAME, 0) |
|
#define | PyDate_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DateType) |
|
#define | PyDate_CheckExact(op) (Py_TYPE(op) == PyDateTimeAPI->DateType) |
|
#define | PyDateTime_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DateTimeType) |
|
#define | PyDateTime_CheckExact(op) (Py_TYPE(op) == PyDateTimeAPI->DateTimeType) |
|
#define | PyTime_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->TimeType) |
|
#define | PyTime_CheckExact(op) (Py_TYPE(op) == PyDateTimeAPI->TimeType) |
|
#define | PyDelta_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->DeltaType) |
|
#define | PyDelta_CheckExact(op) (Py_TYPE(op) == PyDateTimeAPI->DeltaType) |
|
#define | PyTZInfo_Check(op) PyObject_TypeCheck(op, PyDateTimeAPI->TZInfoType) |
|
#define | PyTZInfo_CheckExact(op) (Py_TYPE(op) == PyDateTimeAPI->TZInfoType) |
|
#define | PyDate_FromDate(year, month, day) PyDateTimeAPI->Date_FromDate(year, month, day, PyDateTimeAPI->DateType) |
|
#define | PyDateTime_FromDateAndTime(year, month, day, hour, min, sec, usec) |
|
#define | PyTime_FromTime(hour, minute, second, usecond) |
|
#define | PyDelta_FromDSU(days, seconds, useconds) |
|
#define | PyDateTime_FromTimestamp(args) |
|
#define | PyDate_FromTimestamp(args) |
|