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

Method _start_of_month

src/pendulum/date.py:382–386  ·  view source on GitHub ↗

Reset the date to the first day of the month.

(self)

Source from the content-addressed store, hash-verified

380 return self
381
382 def _start_of_month(self) -> Self:
383 """
384 Reset the date to the first day of the month.
385 """
386 return self.set(self.year, self.month, 1)
387
388 def _end_of_month(self) -> Self:
389 """

Callers

nothing calls this directly

Calls 1

setMethod · 0.95

Tested by

no test coverage detected