pyo3::ffi

Function PyDateTime_DELTA_GET_SECONDS

Source
pub unsafe fn PyDateTime_DELTA_GET_SECONDS(o: *mut PyObject) -> i32
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.