Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ in_minutes
Method
in_minutes
src/pendulum/duration.py:235–236 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
233
return
int(self.total_hours())
234
235
def
in_minutes(self) -> int:
236
return
int(self.total_minutes())
237
238
def
in_seconds(self) -> int:
239
return
int(self.total_seconds())
Callers
13
test_in_minutes
Function · 0.80
test_diff_in_minutes_positive
Function · 0.80
test_diff_in_minutes_positive_big
Function · 0.80
test_diff_in_minutes_negative_with_sign
Function · 0.80
test_diff_in_minutes_negative_no_sign
Function · 0.80
test_diff_in_minutes_vs_default_now
Function · 0.80
test_diff_in_minutes_ensure_is_truncated
Function · 0.80
test_diff_in_minutes_positive
Function · 0.80
test_diff_in_minutes_positive_big
Function · 0.80
test_diff_in_minutes_negative_with_sign
Function · 0.80
test_diff_in_minutes_negative_no_sign
Function · 0.80
test_diff_in_minutes_vs_default_now
Function · 0.80
Calls
1
total_minutes
Method · 0.95
Tested by
13
test_in_minutes
Function · 0.64
test_diff_in_minutes_positive
Function · 0.64
test_diff_in_minutes_positive_big
Function · 0.64
test_diff_in_minutes_negative_with_sign
Function · 0.64
test_diff_in_minutes_negative_no_sign
Function · 0.64
test_diff_in_minutes_vs_default_now
Function · 0.64
test_diff_in_minutes_ensure_is_truncated
Function · 0.64
test_diff_in_minutes_positive
Function · 0.64
test_diff_in_minutes_positive_big
Function · 0.64
test_diff_in_minutes_negative_with_sign
Function · 0.64
test_diff_in_minutes_negative_no_sign
Function · 0.64
test_diff_in_minutes_vs_default_now
Function · 0.64