datethyme.DateRange
This is the documentation page for the DateRange class.
datethyme.DateRange
Bases: AbstractRange[Date]
inclusive
instance-attribute
__getitem__
__getitem__(sli: slice) -> DateRange
__init__
__init__(start: Date, stop: Date, step: int = 1, inclusive: bool = False)
__reversed__
__reversed__() -> DateRange
gap
gap(other: DateRange, strict: bool = False) -> DateRange | None
hull
hull(other: DateRange, strict: bool = False) -> DateRange
intersection
intersection(other: DateRange, strict: bool = False) -> DateRange | None
overlap
overlap(other: DateRange, strict: bool = False) -> DateRange | None