index(for:)
Returns the bin index for the given value.
Declaration
func index(for value: Date) -> IntParameters
- value:
The date value to get the index for.
Return Value
The bin index.
Returns the bin index for the given value.
func index(for value: Date) -> IntThe date value to get the index for.
The bin index.