timespan_2_happens_during_timespan_1

abjad.timespans.timespan_2_happens_during_timespan_1.timespan_2_happens_during_timespan_1(timespan_1=None, timespan_2=None, hold=False)

Makes time relation indicating that timespan_2 happens during timespan_1.

>>> relation = abjad.timespans.timespan_2_happens_during_timespan_1()
>>> abjad.f(relation)
abjad.timespans.TimespanTimespanTimeRelation(
    inequality=abjad.timespans.CompoundInequality(
        [
            abjad.TimespanInequality('timespan_1.start_offset <= timespan_2.start_offset'),
            abjad.TimespanInequality('timespan_2.stop_offset <= timespan_1.stop_offset'),
            ],
        logical_operator='and',
        ),
    )

Evaluates whether timespan [7/8, 8/8) happens during timespan [1/2, 3/2):

>>> timespan_1 = abjad.Timespan((1, 2), (3, 2))
>>> timespan_2 = abjad.Timespan((7, 8), (8, 8))
>>> abjad.timespans.timespan_2_happens_during_timespan_1(
...     timespan_1=timespan_1,
...     timespan_2=timespan_2,
...     )
True

Returns time relation or boolean.