pyo3::ffi

Function PyDateTime_DELTA_GET_DAYS

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