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

# Calendar.MatchingPolicy.nextTimePreservingSmallerComponents

If specified, and 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 method returns the next existing value of the missing component and preserves the lower components’ values (for example, no 2:37am results in 3:37am, if that exists).

## Declaration

```swift
case nextTimePreservingSmallerComponents
```

## See Also

### Enumeration Cases

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