pyo3_ffi

Function PyDateTime_TIME_GET_HOUR

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

Retrieve the hour component of a PyDateTime_Time. Returns a signed integer in the interval [0, 23]