pyo3_ffi

Function PyDateTime_DELTA_GET_SECONDS

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

Retrieve the seconds component of a PyDateTime_Delta.

Returns a signed integer in the interval [0, 86399].

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