pyo3_ffi

Function PyDateTime_DELTA_GET_DAYS

Source
pub unsafe fn PyDateTime_DELTA_GET_DAYS(o: *mut PyObject) -> c_int
Available on non-Py_LIMITED_API and neither PyPy nor GraalPy only.
Expand description

Retrieve the days component of a PyDateTime_Delta.

Returns a signed integer in the interval [-999999999, 999999999].

Note: This retrieves a component from the underlying structure, it is not a representation of the total duration of the structure.