class TimeOfDayFilter extends DurationFilter {

   @Override
   public String toString() {
      if(startTime == null) {
         return delegate + " before " + endTime;
      }
      if(endTime == null) {
         return delegate + " after " + startTime;
      }
      return delegate + " between " + startTime + " and " + endTime;
   }

   public  TimeOfDayFilter(Condition delegate, TimeRange timeRange);
   public  TimeOfDayFilter(Condition delegate, @Nullable TimeOfDay startTime, @Nullable TimeOfDay endTime);

}