public NRShape makeShape ( Date from , Date to ) { UnitNRShape fromShape = tree . toUnitShape ( from ) ; UnitNRShape toShape = tree . toUnitShape ( to ) ; return tree . toRangeShape ( fromShape , toShape ) ; }
Makes an spatial shape representing the time range defined by the two specified dates .