for (SegmentedTimeline.Segment segment2 = timeline.getSegment(
                        segment1.getSegmentStart()); 
                    segment2.getSegmentStart() <= segment1.getSegmentEnd();
                    segment2.inc()) {
                    if (!segment2.inExcludeSegments()) {
                        assertTrue(segment2.inExceptionSegments());