Skip to content

Commit

Permalink
Update src/main/java/org/opentripplanner/apis/gtfs/model/LocalDateRan…
Browse files Browse the repository at this point in the history
…ge.java

Co-authored-by: Thomas Gran <t2gran@gmail.com>
  • Loading branch information
leonardehrenfried and t2gran authored Jul 24, 2024
1 parent b617f95 commit ae363f4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ public boolean startBeforeEnd() {
public boolean contains(LocalDate date) {
return (
(
startInclusive() == null || date.isEqual(startInclusive()) || date.isAfter(startInclusive())
startInclusive == null || date.isEqual(startInclusive) || date.isAfter(startInclusive)
) &&
(endExclusive() == null || date.isBefore(endExclusive()))
(endExclusive == null || date.isBefore(endExclusive))
);
}
}

0 comments on commit ae363f4

Please sign in to comment.