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

Method in_years

src/pendulum/interval.py:223–227  ·  view source on GitHub ↗

Gives the duration of the Interval in full years.

(self)

Source from the content-addressed store, hash-verified

221 return self._end
222
223 def in_years(self) -> int:
224 """
225 Gives the duration of the Interval in full years.
226 """
227 return self.years
228
229 def in_months(self) -> int:
230 """

Calls

no outgoing calls