<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.9.0 -",
    "tvOS: 9.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 2.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Foundation",
  "identifier" : "/documentation/Foundation/NSCalendar/nextWeekendStart(_:interval:options:after:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Foundation"
    ],
    "preciseIdentifier" : "c:objc(cs)NSCalendar(im)nextWeekendStartDate:interval:options:afterDate:"
  },
  "title" : "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.

```
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 ([`searchBackwards`](/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

<doc://com.apple.documentation/documentation/Swift/false> if the calendar and locale do not have the concept of a weekend, otherwise <doc://com.apple.documentation/documentation/Swift/true>.

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)