MCPcopy Index your code
hub / github.com/apache/cassandra-python-driver / time

Method time

cassandra/util.py:848–853  ·  view source on GitHub ↗

Return a built-in datetime.time (nanosecond precision truncated to micros).

(self)

Source from the content-addressed store, hash-verified

846 return self.nanosecond_time % Time.SECOND
847
848 def time(self):
849 """
850 Return a built-in datetime.time (nanosecond precision truncated to micros).
851 """
852 return datetime.time(hour=self.hour, minute=self.minute, second=self.second,
853 microsecond=self.nanosecond // Time.MICRO)
854
855 def _from_timestamp(self, t):
856 if t >= Time.DAY:

Callers 15

test_as_timeMethod · 0.95
factoryMethod · 0.45
runMethod · 0.45
__init__Method · 0.45
service_timeoutsMethod · 0.45
_delay_for_event_typeMethod · 0.45
_insert_taskMethod · 0.45
runMethod · 0.45
__init__Method · 0.45
_time_remainingMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_as_timeMethod · 0.76