-
Returns the last date in ``self``.
Returns a new :class:`DateSpan` that starts as ``self`` but has
duration ``duration``.
datespanset.scale(int duration)
Returns a new :class:`DateSpan` that starts as ``self`` but has
duration ``duration``.
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 the first date in ``self``.
Returns a :class:`DateSpanSet` set containing ``self``.