• Returns the number of interval boundaries after start (exclusive) and before or equal to end (inclusive).

    Note that this behavior is slightly different than interval.range, because its purpose is to return the zero-based number of the specified end date relative to the specified start date.

    Parameters

    • start: Date

      A start date object.

    • end: Date

      An end date object.

    Returns number