Initializer

init(start:end:)

Creates a relevance provider with the specified start and end dates.

Declaration

init(start startDate: Date, end endDate: Date?)

Parameters

startDate

A relevant start date for the provider.

endDate

An optional relevant end date for the provider.

Return Value

A newly initialized date relevance provider.