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

Method _start_of_month

src/pendulum/datetime.py:837–841  ·  view source on GitHub ↗

Reset the date to the first day of the month and the time to 00:00:00.

(self)

Source from the content-addressed store, hash-verified

835 return self.at(23, 59, 59, 999999)
836
837 def _start_of_month(self) -> Self:
838 """
839 Reset the date to the first day of the month and the time to 00:00:00.
840 """
841 return self.set(self.year, self.month, 1, 0, 0, 0, 0)
842
843 def _end_of_month(self) -> Self:
844 """

Callers

nothing calls this directly

Calls 1

setMethod · 0.95

Tested by

no test coverage detected