Initializer

init()

Initializes an interval with start and end dates set to the current date and the duration set to 0.

Declaration

init()

See Also

Creating a Date Interval

init(start: Date, duration: TimeInterval)

Initializes an interval with the specified start date and duration.

init(start: Date, end: Date)

Initializes an interval with the specified start and end date.