Uses of Class
types.collections.time.dateset

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

    Methods in types.collections.time that return dateset
    Modifier and Type
    Method
    Description
    dateset.scale(Integer duration)
    Returns a new :class:`DateSet` that with the scaled so that the span of ``self`` is ``duration``.
    dateset.shift(Integer shift)
    Returns a new :class:`DateSpanSet` that is the result of shifting ``self`` by ``delta`` Examples: >>> DateSet('{2000-01-01, 2000-01-10}').shift(timedelta(days=2)) >>> 'DateSet({2000-01-03, 2000-01-12})' Args: delta: :class:`datetime.timedelta` instance to shift Returns: A new :class:`DateSpanSet` instance MEOS Functions: dateset_shift_scale
    dateset.shift_scale(Integer shift, Integer duration)
    Returns a new :class:`DateSet` that is the result of shifting and scaling ``self``.
    dateset.union(Object other)
    Returns the temporal union of ``self`` and ``other``.