MCPcopy Index your code
hub / github.com/python-pendulum/pendulum / total_days

Method total_days

src/pendulum/duration.py:134–135  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

132 return self.total_seconds() / SECONDS_PER_HOUR
133
134 def total_days(self) -> float:
135 return self.total_seconds() / SECONDS_PER_DAY
136
137 def total_weeks(self) -> float:
138 return self.total_days() / 7

Callers 3

total_weeksMethod · 0.95
in_daysMethod · 0.95
test_in_daysFunction · 0.80

Calls 1

total_secondsMethod · 0.95

Tested by 1

test_in_daysFunction · 0.64