Create two fixed.Interval objects. Use the contains function to determine if the intervals in interval2 are contained within the corresponding intervals in interval1.
When the second input is a scalar Interval object, contains determines whether each interval of the first input contains the interval of the second input.