Returns whether a given date falls within a weekend period, and if so, returns by reference the start date and time interval of the weekend range.
- iOS 8.0+
- macOS 10.9+
- tvOS 9.0+
- watchOS 2.0+
Upon return, contains the starting date of the next weekend period.
Upon return, contains the time interval of the next weekend period.
The date to use to perform the calculation.
true if the given date falls within a weekend period, otherwise
Note that a particular calendar day may not necessarily fall entirely within a weekend period, as weekends can start in the middle of a day in some calendars and locales.