Instance Property

duration

The duration of the date interval.

Declaration

var duration: TimeInterval { get }

See Also

Accessing Start Date, End Date, and Duration

var startDate: Date

The start date of the date interval.

var endDate: Date

The end date of the date interval.