MCPcopy Index your code
hub / github.com/RustPython/RustPython / fromisocalendar

Method fromisocalendar

Lib/_pydatetime.py:1058–1062  ·  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

1056
1057 @classmethod
1058 def fromisocalendar(cls, year, week, day):
1059 """Construct a date from the ISO year, week number and weekday.
1060
1061 This is the inverse of the date.isocalendar() function"""
1062 return cls(*_isoweek_to_gregorian(year, week, day))
1063
1064 @classmethod
1065 def strptime(cls, date_string, format):

Callers 4

_strptimeFunction · 0.80
test_fromisocalendarMethod · 0.80

Calls 2

_isoweek_to_gregorianFunction · 0.85
clsClass · 0.50