boolean (@NotNull VcsCommitMetadata details) { Date date = new Date(details.getCommitTime()); // Git itself also filters by commit time, not author time boolean matches = true; if (myAfter != null) { matches &= date.after(myAfter); } if (myBefore != null) { matches &= date.before(myBefore); } return matches; }