Uses of Class
types.collections.time.datespanset

Packages that use datespanset
Package
Description
 
  • Uses of datespanset in types.collections.time

    Methods in types.collections.time that return datespanset
    Modifier and Type
    Method
    Description
    datespanset.intersection(Object other)
    Returns the temporal intersection of ``self`` and ``other``.
    datespan.minus(Object other)
    Returns the temporal difference of ``self`` and ``other``.
    datespanset.minus(Object 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``.
    datespanset.shift_scale(Integer shift, Integer duration)
    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
    datespan.to_spanset()
    Returns a :class:`DateSpanSet` set containing ``self``.
    datespan.union(Object other)
    Returns the temporal union of ``self`` and ``other``.
    datespanset.union(Object other)
    Returns the temporal union of ``self`` and ``other``.