pyo3_ffi

Function PyDateTime_DELTA_GET_MICROSECONDS

Source
pub unsafe fn PyDateTime_DELTA_GET_MICROSECONDS(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, 999999].

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