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

Method fromordinal

src/pendulum/datetime.py:1263–1264  ·  view source on GitHub ↗
(cls, n: int)

Source from the content-addressed store, hash-verified

1261
1262 @classmethod
1263 def fromordinal(cls, n: int) -> Self:
1264 return cls.instance(datetime.datetime.fromordinal(n), tz=None)
1265
1266 @classmethod
1267 def combine(

Callers

nothing calls this directly

Calls 1

instanceMethod · 0.45

Tested by

no test coverage detected