---
title: NSCalendar.Options
framework: foundation
role: symbol
role_heading: Structure
path: foundation/nscalendar/options
---

# NSCalendar.Options

The options for arithmetic operations involving calendars.

## Declaration

```swift
struct Options
```

## Topics

### Initializers

- [init(rawValue:)](foundation/nscalendar/options/init(rawvalue:).md)

### Constants

- [wrapComponents](foundation/nscalendar/options/wrapcomponents.md)
- [matchStrictly](foundation/nscalendar/options/matchstrictly.md)
- [searchBackwards](foundation/nscalendar/options/searchbackwards.md)
- [matchPreviousTimePreservingSmallerUnits](foundation/nscalendar/options/matchprevioustimepreservingsmallerunits.md)
- [matchNextTimePreservingSmallerUnits](foundation/nscalendar/options/matchnexttimepreservingsmallerunits.md)
- [matchNextTime](foundation/nscalendar/options/matchnexttime.md)
- [matchFirst](foundation/nscalendar/options/matchfirst.md)
- [matchLast](foundation/nscalendar/options/matchlast.md)
- [NSWrapCalendarComponents](foundation/nswrapcalendarcomponents.md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [ExpressibleByArrayLiteral](swift/expressiblebyarrayliteral.md)
- [OptionSet](swift/optionset.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [SetAlgebra](swift/setalgebra.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)
- [NSWrapCalendarComponents](foundation/nswrapcalendarcomponents-api.md)
