offset_happens_during_timespan

timespantools.offset_happens_during_timespan(timespan=None, offset=None, hold=False)

Makes time relation indicating that offset happens during timespan.

>>> import abjad
>>> relation = abjad.timespantools.offset_happens_during_timespan()
>>> f(relation)
abjad.OffsetTimespanTimeRelation(
    inequality=abjad.CompoundInequality(
        [
            abjad.TimespanInequality('timespan.start <= offset'),
            abjad.TimespanInequality('offset < timespan.stop'),
            ],
        logical_operator='and',
        ),
    )

Returns time relation or boolean.