public IntervalImpl(int serialNum,long startIntervalDateTime,double coverageFactor,FramingFlowType intervalDataType,ISource source,IIntervalClassification intervalClassification,Version adeVersion) throws AdeInternalException {
  a_adeVersion=adeVersion;
  if (startIntervalDateTime < 0) {
    throw new IllegalArgumentException(String.format("Interval start time must be " + "greater than 0! Failed creating new interval with parameters: serialNum=%d, " + "startIntervalDateTime=%d, coverageFactor=%s, intervalDataType=%s, source=%s, "+ "intervalClassification=%s, adeVersion=%s",serialNum,startIntervalDateTime,coverageFactor,intervalDataType,source,intervalClassification,adeVersion));
  }
  m_startIntervalTime=startIntervalDateTime;
  m_framingFlowType=intervalDataType;
  m_serialNum=serialNum;
  m_intervalClassification=intervalClassification;
  if (m_intervalClassification == null) {
    m_intervalClassification=IntervalClassificationEnum.REGULAR;
  }
  m_messageSummaryMap=new TreeMap<Integer,IMessageSummary>();
  m_endIntervalTime=m_startIntervalTime + m_framingFlowType.getDuration();
  m_source=source;
  if (coverageFactor <= 0 || coverageFactor > 1) {
    throw new AdeInternalException("Interval coverage factor must be between 0 (exclusive) and 1 (inclusive), but currently is: " + coverageFactor);
  }
  m_coverageFactor=coverageFactor;
}

public IntervalImpl ( int serialNum , long startIntervalDateTime , double coverageFactor , FramingFlowType intervalDataType , ISource source , IIntervalClassification intervalClassification , Version adeVersion ) throws AdeInternalException { a_adeVersion = adeVersion ; if ( startIntervalDateTime < 0 ) { throw new IllegalArgumentException ( String . format ( "Interval start time must be " + "greater than 0! Failed creating new interval with parameters: serialNum=%d, " + "startIntervalDateTime=%d, coverageFactor=%s, intervalDataType=%s, source=%s, " + "intervalClassification=%s, adeVersion=%s" , serialNum , startIntervalDateTime , coverageFactor , intervalDataType , source , intervalClassification , adeVersion ) ) ; } m_startIntervalTime = startIntervalDateTime ; m_framingFlowType = intervalDataType ; m_serialNum = serialNum ; m_intervalClassification = intervalClassification ; if ( m_intervalClassification == null ) { m_intervalClassification = IntervalClassificationEnum . REGULAR ; } m_messageSummaryMap = new TreeMap < Integer , IMessageSummary > ( ) ; m_endIntervalTime = m_startIntervalTime + m_framingFlowType . getDuration ( ) ; m_source = source ; if ( coverageFactor <= 0 || coverageFactor > 1 ) { throw new AdeInternalException ( "Interval coverage factor must be between 0 (exclusive) and 1 (inclusive), but currently is: " + coverageFactor ) ; } m_coverageFactor = coverageFactor ; }
this is used to build partial intervals .
