MCPcopy Create free account
hub / github.com/apache/arrow / PyTime_to_ns

Function PyTime_to_ns

python/pyarrow/src/arrow/python/datetime.h:74–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72inline int64_t PyTime_to_ms(PyObject* pytime) { return PyTime_to_us(pytime) / 1000; }
73
74ARROW_PYTHON_EXPORT
75inline int64_t PyTime_to_ns(PyObject* pytime) { return PyTime_to_us(pytime) * 1000; }
76
77ARROW_PYTHON_EXPORT
78Status PyTime_from_int(int64_t val, const TimeUnit::type unit, PyObject** out);

Callers 1

ConvertMethod · 0.85

Calls 1

PyTime_to_usFunction · 0.85

Tested by

no test coverage detected