---
title: Calendar.MatchingPolicy.nextTime
framework: foundation
role: symbol
role_heading: Case
path: foundation/calendar/matchingpolicy/nexttime
---

# Calendar.MatchingPolicy.nextTime

If there is no matching time before the end of the next instance of the next higher component to the highest specified component in the DateComponents argument, the algorithm will return the next existing time which exists.

## Declaration

```swift
case nextTime
```

## Discussion

Discussion For example, during a daylight saving transition there may be no 2:37am. The result would then be 3:00am, if that does exist.

## See Also

### Enumeration Cases

- [Calendar.MatchingPolicy.nextTimePreservingSmallerComponents](foundation/calendar/matchingpolicy/nexttimepreservingsmallercomponents.md)
- [Calendar.MatchingPolicy.previousTimePreservingSmallerComponents](foundation/calendar/matchingpolicy/previoustimepreservingsmallercomponents.md)
- [Calendar.MatchingPolicy.strict](foundation/calendar/matchingpolicy/strict.md)
