@Override
    public String toString() {

        return "Within{" +
                "timeRange=" + timeRange +
                '}';
    }
With time period for Incremental Aggregation.
modules/siddhi-query-api/src/main/java/io/siddhi/query/api/aggregation/Within.java