init(start:end:)
Initializes a date interval from a given start date and end date.
Declaration
convenience init(start startDate: Date, end endDate: Date)Parameters
- startDate:
The start date of the date interval.
- endDate:
The end date of the date interval.