-
Returns the temporal intersection of ``self`` and ``other``.
Returns the temporal difference of ``self`` and ``other``.
Returns the temporal difference of ``self`` and ``other``.
datespanset.shift(int shift)
Returns a new :class:`DateSpan` that is the result of shifting ``self`` by
``delta``.
Returns a new :class:`DateSpan` that starts at ``self`` shifted by ``shift`` and
has duration ``duration``
Examples:
>>> DateSpan('[2000-01-01, 2000-01-10]').shift_scale(shift=timedelta(days=2), duration=timedelta(days=4))
>>> 'DateSpan([2000-01-03, 2000-01-07])'
Args:
shift: :class:`datetime.timedelta` instance to shift
duration: :class:`datetime.timedelta` instance representing the
duration of the new dateSpan
Returns:
A new :class:`DateSpan` instance
MEOS Functions:
datespan_shift_scale
Returns a :class:`DateSpanSet` set containing ``self``.
Returns the temporal union of ``self`` and ``other``.
Returns the temporal union of ``self`` and ``other``.