Check date between two other dates spring data jpa
<p>I have this model:</p>
<pre><code>public class Event {
    private String name;
    private Date start;
    private Date end;
}
</code></pre>
<p>and repository as</p>
<pre><code>@Repository
public interface EventRepository extends JpaRepository&lt;Event, Long&gt; {
    List&lt;Event&gt; findByEventTypeAccount(Account account);
}
</code></pre>
<p>What I want to do is, I will pass one date and need to check that date is between <code>start</code> and <code>end</code> e.g. (I will pass Sept 30 as date and need to find all entries which have Sept 30 between their <code>start</code> and <code>end</code>)</p>
<p>Something like <code>findDateisBetweenStartAndEnd(Date date)</code>?</p>