Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ total_minutes
Method
total_minutes
src/pendulum/duration.py:128–129 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
126
return
self
127
128
def
total_minutes(self) -> float:
129
return
self.total_seconds() / SECONDS_PER_MINUTE
130
131
def
total_hours(self) -> float:
132
return
self.total_seconds() / SECONDS_PER_HOUR
Callers
2
in_minutes
Method · 0.95
test_in_minutes
Function · 0.80
Calls
1
total_seconds
Method · 0.95
Tested by
1
test_in_minutes
Function · 0.64