code: public NRShape makeShape(Date from, Date to) {
          UnitNRShape fromShape = tree.toUnitShape(from);
          UnitNRShape toShape = tree.toUnitShape(to);
          return tree.toRangeShape(fromShape, toShape);
      }
docs: Makes an spatial shape representing the time range defined by the two specified dates.
  
  @param from the start {@link Date}
  @param to the end {@link Date}
  @return a shape