Class AbstractSplitOnDate

    • Field Detail

      • m_IncludeSplitDate

        protected boolean m_IncludeSplitDate
        whether to include the split date in the segments (if exact hit).
    • Constructor Detail

      • AbstractSplitOnDate

        public AbstractSplitOnDate()
    • Method Detail

      • setSegments

        public void setSegments​(AbstractSplitOnDate.Segments value)
        Sets the segments to return.
        Parameters:
        value - the segments
      • segmentsTipText

        public String segmentsTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • setIncludeSplitDate

        public void setIncludeSplitDate​(boolean value)
        Sets whether to include the split date in the segments.
        Parameters:
        value - ture if to include
      • getIncludeSplitDate

        public boolean getIncludeSplitDate()
        Returns whether to include the split date in the segments.
        Returns:
        true if to include
      • includeSplitDateTipText

        public String includeSplitDateTipText()
        Returns the tip text for this property.
        Returns:
        tip text for this property suitable for displaying in the GUI or for listing the options.
      • doSplit

        protected Timeseries[] doSplit​(Timeseries series,
                                       Date date)
        Performs the actual split on the date.
        Parameters:
        series - the timeseries to split
        date - the date to split on
        Returns:
        the generated sub-timeseries