Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/python-pendulum/pendulum
/ age
Method
age
src/pendulum/date.py:80–81 ·
view source on GitHub ↗
(self)
Source
from the content-addressed store, hash-verified
78
79
@property
80
def
age(self) -> int:
81
return
self.diff(abs=False).in_years()
82
83
@property
84
def
quarter(self) -> int:
Callers
nothing calls this directly
Calls
2
diff
Method · 0.95
in_years
Method · 0.80
Tested by
no test coverage detected