---
title: "nextWeekendStart(_:interval:options:after:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nscalendar/nextweekendstart(_:interval:options:after:)"
---

# nextWeekendStart(_:interval:options:after:)

Returns by reference the starting date and time interval range of the next weekend period after a given date.

## Declaration

```swift
func nextWeekendStart(_ datep: AutoreleasingUnsafeMutablePointer<NSDate?>?, interval tip: UnsafeMutablePointer<TimeInterval>?, options: NSCalendar.Options = [], after date: Date) -> Bool
```

## Parameters

- `datep`: Upon return, contains the starting date of the next weekend period.
- `tip`: Upon return, contains the time interval of the next weekend period.
- `options`: Options for the calculation. If you specify a backward search option (doc://com.apple.foundation/documentation/Foundation/NSCalendar/Options/searchBackwards), the starting date and time interval range of the preceding weekend period will be returned by reference instead.
- `date`: The date for which to perform the calculation.

## Return Value

Return Value false if the calendar and locale do not have the concept of a weekend, otherwise true.

## Discussion

Discussion 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.

## See Also

### Calculating Dates

- [date(from:)](foundation/nscalendar/date(from:).md)
- [date(byAdding:to:options:)](foundation/nscalendar/date(byadding:to:options:).md)
- [date(byAdding:value:to:options:)](foundation/nscalendar/date(byadding:value:to:options:).md)
- [date(bySettingHour:minute:second:of:options:)](foundation/nscalendar/date(bysettinghour:minute:second:of:options:).md)
- [date(bySettingUnit:value:of:options:)](foundation/nscalendar/date(bysettingunit:value:of:options:).md)
- [date(era:year:month:day:hour:minute:second:nanosecond:)](foundation/nscalendar/date(era:year:month:day:hour:minute:second:nanosecond:).md)
- [date(era:yearForWeekOfYear:weekOfYear:weekday:hour:minute:second:nanosecond:)](foundation/nscalendar/date(era:yearforweekofyear:weekofyear:weekday:hour:minute:second:nanosecond:).md)
