Initializer

init(coder:)

Returns a date interval initialized from data in the given unarchiver.

Declaration

init(coder: NSCoder)

See Also

Creating Date Intervals

init()

Initializes a date interval by setting the start and end date to the current date.

init(start: Date, duration: TimeInterval)

Initializes a date interval with a given start date and duration.

init(start: Date, end: Date)

Initializes a date interval from a given start date and end date.