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

Function PyDateTime_to_us

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

Source from the content-addressed store, hash-verified

116}
117
118ARROW_PYTHON_EXPORT
119inline int64_t PyDateTime_to_us(PyDateTime_DateTime* pydatetime) {
120 return (PyDateTime_to_s(pydatetime) * 1000000LL +
121 PyDateTime_DATE_GET_MICROSECOND(pydatetime));
122}
123
124ARROW_PYTHON_EXPORT
125inline int64_t PyDateTime_to_ns(PyDateTime_DateTime* pydatetime) {

Callers 2

ConvertMethod · 0.85
PyDateTime_to_nsFunction · 0.85

Calls 1

PyDateTime_to_sFunction · 0.85

Tested by

no test coverage detected