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

Function _pytime_to_micros

python/pyarrow/tests/test_pandas.py:3382–3386  ·  view source on GitHub ↗
(pytime)

Source from the content-addressed store, hash-verified

3380
3381
3382def _pytime_to_micros(pytime):
3383 return (pytime.hour * 3600000000 +
3384 pytime.minute * 60000000 +
3385 pytime.second * 1000000 +
3386 pytime.microsecond)
3387
3388
3389def test_convert_unsupported_type_error_message():

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected