pyo3::ffi

Function PyDateTime_TIME_GET_HOUR

Source
pub unsafe fn PyDateTime_TIME_GET_HOUR(o: *mut PyObject) -> i32
Available on neither PyPy nor GraalPy.
Expand description

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

⚠️ Internal Docs ⚠️ Not Public API 👉 Official Docs Here