Contents

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

case nextTimePreservingSmallerComponents

See Also

Enumeration Cases