Class TimeRanges

    • Constructor Detail

      • TimeRanges

        protected TimeRanges()
    • Method Detail

      • end

        public double end​(int index)
        Returns the end time of the range indexed by index.
        Parameters:
        index - the range index, between 0 (inclusive) and length() (exclusive)
        Returns:
        a double indicating the end time in seconds
        See Also:
        start(int)
      • length

        public int length()
        Returns the number of distinct ranges contained in this object.
        Returns:
        an integer number of ranges
      • start

        public double start​(int index)
        Returns the start time of the range indexed by index.
        Parameters:
        index - the range index, between 0 (inclusive) and length() (exclusive)
        Returns:
        a double indicating the start time in seconds
        See Also:
        end(int)