nextDate(after:matching:value:options:)
Returns the next date after a given date matching the given calendar unit value.
Declaration
func nextDate(after date: Date, matching unit: NSCalendar.Unit, value: Int, options: NSCalendar.Options = []) -> Date?Parameters
Return Value
A new NSDate object.