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

Method _start_of_hour

src/pendulum/datetime.py:813–817  ·  view source on GitHub ↗

Reset minutes, seconds and microseconds to 0.

(self)

Source from the content-addressed store, hash-verified

811 return self.set(second=59, microsecond=999999)
812
813 def _start_of_hour(self) -> Self:
814 """
815 Reset minutes, seconds and microseconds to 0.
816 """
817 return self.set(minute=0, second=0, microsecond=0)
818
819 def _end_of_hour(self) -> Self:
820 """

Callers

nothing calls this directly

Calls 1

setMethod · 0.95

Tested by

no test coverage detected