MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / fromisocalendar

Method fromisocalendar

tools/python-3.11.9-amd64/Lib/datetime.py:994–998  ·  view source on GitHub ↗

Construct a date from the ISO year, week number and weekday. This is the inverse of the date.isocalendar() function

(cls, year, week, day)

Source from the content-addressed store, hash-verified

992
993 @classmethod
994 def fromisocalendar(cls, year, week, day):
995 """Construct a date from the ISO year, week number and weekday.
996
997 This is the inverse of the date.isocalendar() function"""
998 return cls(*_isoweek_to_gregorian(year, week, day))
999
1000 # Conversions to string
1001

Callers

nothing calls this directly

Calls 1

_isoweek_to_gregorianFunction · 0.85

Tested by

no test coverage detected