| 69 | inline int64_t PyTime_to_s(PyObject* pytime) { return PyTime_to_us(pytime) / 1000000; } |
| 70 | |
| 71 | ARROW_PYTHON_EXPORT |
| 72 | inline int64_t PyTime_to_ms(PyObject* pytime) { return PyTime_to_us(pytime) / 1000; } |
| 73 | |
| 74 | ARROW_PYTHON_EXPORT |
| 75 | inline int64_t PyTime_to_ns(PyObject* pytime) { return PyTime_to_us(pytime) * 1000; } |