---
title: matchNextTime
framework: foundation
role: symbol
role_heading: Type Property
path: foundation/nscalendar/options/matchnexttime
---

# matchNextTime

Specifies that, when there is no matching time before the end of the next instance of the next highest unit specified in the given NSDateComponents object, this method uses the next existing value of the missing unit and does not preserve the lower units’ values.

## Declaration

```swift
static var matchNextTime: NSCalendar.Options { get }
```

## See Also

### 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)
- [matchFirst](foundation/nscalendar/options/matchfirst.md)
- [matchLast](foundation/nscalendar/options/matchlast.md)
- [NSWrapCalendarComponents](foundation/nswrapcalendarcomponents.md)
