timespan_2_stops_before_timespan_1_stops

timespantools.timespan_2_stops_before_timespan_1_stops(timespan_1=None, timespan_2=None, hold=False)

Makes time relation indicating that timespan_2 happens during timespan_1.

>>> time_relation = timespantools.timespan_2_stops_before_timespan_1_stops()
>>> print(format(time_relation))
timespantools.TimespanTimespanTimeRelation(
    inequality=timespantools.CompoundInequality(
        [
            timespantools.Inequality('timespan_2.stop_offset < timespan_1.stop_offset'),
            ],
        logical_operator='and',
        ),
    )

Returns time relation or boolean.