addingTimeInterval(_:)
Creates a new date value by adding a time interval to this date.
Declaration
func addingTimeInterval(_ timeInterval: TimeInterval) -> DateParameters
- timeInterval:
The value to add, in seconds.
Return Value
A new date value calculated by adding a time interval to this date.