offset_happens_when_timespan_stops

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

Makes time relation indicating that offset happens when timespan stops.

>>> relation = timespantools.offset_happens_when_timespan_stops()
>>> print(format(relation))
timespantools.OffsetTimespanTimeRelation(
    inequality=timespantools.CompoundInequality(
        [
            timespantools.Inequality('offset == timespan.stop'),
            ],
        logical_operator='and',
        ),
    )

Returns time relation or boolean.