pyo3::ffi

Function PyDateTime_TIME_GET_HOUR

Source
pub unsafe fn PyDateTime_TIME_GET_HOUR(o: *mut PyObject) -> i32
Expand description

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