Searched refs:PyDateTime_Delta (Results 1 – 4 of 4) sorted by relevance
111 #define GET_TD_DAYS(o) (((PyDateTime_Delta *)(o))->days)112 #define GET_TD_SECONDS(o) (((PyDateTime_Delta *)(o))->seconds)113 #define GET_TD_MICROSECONDS(o) (((PyDateTime_Delta *)(o))->microseconds)1022 PyDateTime_Delta *self; in new_delta_ex()1032 self = (PyDateTime_Delta *) (type->tp_alloc(type, 0)); in new_delta_ex()1083 static int delta_bool(PyDateTime_Delta *self);1092 if (name == NULL && delta_bool((PyDateTime_Delta *)offset) == 0) { in new_timezone()1352 static PyObject *delta_negative(PyDateTime_Delta *self);1385 Py_SETREF(offset, delta_negative((PyDateTime_Delta *)offset)); in format_utcoffset()1750 delta_to_microseconds(PyDateTime_Delta *self) in delta_to_microseconds()[all …]
41 } PyDateTime_Delta; typedef151 #define PyDateTime_DELTA_GET_DAYS(o) (((PyDateTime_Delta*)o)->days)152 #define PyDateTime_DELTA_GET_SECONDS(o) (((PyDateTime_Delta*)o)->seconds)154 (((PyDateTime_Delta*)o)->microseconds)
230 instance of :c:data:`PyDateTime_Delta`, including subclasses. The argument must233 .. c:function:: int PyDateTime_DELTA_GET_DAYS(PyDateTime_Delta *o)240 .. c:function:: int PyDateTime_DELTA_GET_SECONDS(PyDateTime_Delta *o)247 .. c:function:: int PyDateTime_DELTA_GET_MICROSECONDS(PyDateTime_Delta *o)
10543 - Issue #13727: Add 3 macros to access PyDateTime_Delta members: