Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ time
Method
time
src/pendulum/datetime.py:312–313 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
310
return
Date(self.year, self.month, self.day)
311
312
def
time(self) -> Time:
313
return
Time(self.hour, self.minute, self.second, self.microsecond)
314
315
def
naive(self) -> Self:
316
""
"
Callers
15
_parse
Function · 0.80
add
Method · 0.80
subtract
Method · 0.80
diff
Method · 0.80
diff_for_humans
Method · 0.80
parse_iso8601
Function · 0.80
test_time
Function · 0.80
test_time
Function · 0.80
test_diff_in_hours_vs_default_now
Function · 0.80
test_diff_in_minutes_vs_default_now
Function · 0.80
test_diff_in_seconds_vs_default_now
Function · 0.80
test_diff_for_humans_now_and_second
Function · 0.80
Calls
1
Time
Class · 0.90
Tested by
15
test_time
Function · 0.64
test_time
Function · 0.64
test_diff_in_hours_vs_default_now
Function · 0.64
test_diff_in_minutes_vs_default_now
Function · 0.64
test_diff_in_seconds_vs_default_now
Function · 0.64
test_diff_for_humans_now_and_second
Function · 0.64
test_diff_for_humans_now_and_seconds
Function · 0.64
test_diff_for_humans_now_and_nearly_minute
Function · 0.64
test_diff_for_humans_now_and_minute
Function · 0.64
test_diff_for_humans_now_and_minutes
Function · 0.64
test_diff_for_humans_now_and_nearly_hour
Function · 0.64
test_diff_for_humans_now_and_hour
Function · 0.64