MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / total_seconds

Method total_seconds

tools/python-3.11.9-amd64/Lib/datetime.py:719–722  ·  view source on GitHub ↗

Total seconds in the duration.

(self)

Source from the content-addressed store, hash-verified

717 return s
718
719 def total_seconds(self):
720 """Total seconds in the duration."""
721 return ((self.days * 86400 + self.seconds) * 10**6 +
722 self.microseconds) / 10**6
723
724 # Read-only field accessors
725 @property

Callers 6

_write_objectMethod · 0.80
timestampMethod · 0.80
fromutcMethod · 0.80
setMethod · 0.80
to_secondsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected