---
title: NSWrapCalendarComponents
framework: foundation
role: collectionGroup
role_heading: API Collection
path: foundation/nswrapcalendarcomponents-api
---

# NSWrapCalendarComponents

A legacy constant used to control overflow in date calculations.

## Overview

Overview note: Use wrapComponents instead.

## Topics

### Constants

- [NSWrapCalendarComponents](foundation/nswrapcalendarcomponents.md)

## See Also

### Scanning Dates

- [startOfDay(for:)](foundation/nscalendar/startofday(for:).md)
- [enumerateDates(startingAfter:matching:options:using:)](foundation/nscalendar/enumeratedates(startingafter:matching:options:using:).md)
- [nextDate(after:matching:options:)](foundation/nscalendar/nextdate(after:matching:options:).md)
- [nextDate(after:matchingHour:minute:second:options:)](foundation/nscalendar/nextdate(after:matchinghour:minute:second:options:).md)
- [nextDate(after:matching:value:options:)](foundation/nscalendar/nextdate(after:matching:value:options:).md)
- [NSCalendar.Options](foundation/nscalendar/options.md)
