Returns a new date created with the given components base on a week-of-year value.
- iOS 8.0+
- macOS 10.9+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The value for the era component.
The value for the year component.
The value for the week-of-year component.
The value to use as the weekday.
The value for the hour component.
The value for the minute component.
The value for the second component.
The value for the nanosecond component.
NSDate instance created with the given components based on a week-of-year calculation, or
nil if the components do not correspond to a valid date.