Contents

index(for:)

Returns the bin index for the given value.

Declaration

func index(for value: Date) -> Int

Parameters

  • value:

    The date value to get the index for.

Return Value

The bin index.