public void serialize(DataOutputStream stream) throws IOException {
    ReadWriteIOUtils.write(startTime, stream);
    ReadWriteIOUtils.write(endTime, stream);
    interval.serialize(stream);
    slidingStep.serialize(stream);
    ReadWriteIOUtils.write(leftCRightO, stream);
  }
The parameter of `GROUP BY TIME`.

<p>Remember: interval and slidingStep is always in timestamp unit before transforming to
timeRangeIterator even if it's by month unit.
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/planner/plan/parameter/GroupByTimeParameter.java