@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;
    DateRangeContainerResource that = (DateRangeContainerResource) o;
    return Objects.equals(startDate, that.startDate)
            && Objects.equals(endDate, that.endDate);
  }
A date range container containing start and end date for filtering.
portability-types-common/src/main/java/org/datatransferproject/types/common/models/DateRangeContainerResource.java