Skip to content

datethyme.SecondRangeDated

This is the documentation page for SecondRangeDated.

datethyme.SecondRangeDated

Bases: AbstractRange[DateTime]

_limit property

_limit: DateTime

_rem property

_rem: float

inclusive instance-attribute

inclusive = inclusive

last property

last: DateTime

start instance-attribute

start = start

step instance-attribute

step = step

stop instance-attribute

stop = stop

__contains__

__contains__(other: DateTime) -> bool

__getitem__

__getitem__(slc: slice, inclusive: bool = True) -> SecondRangeDated

Attention! The step in the slice, if provided, is with respect to the pre-existing step in self. This is accordance with the behavior of Python's built-in range().

__init__

__init__(start: DateTime, stop: DateTime, step: int = 1, inclusive: bool = True)

__iter__

__iter__() -> Iterator[DateTime]

__len__

__len__() -> int

__reversed__

__reversed__()

_increment

_increment() -> None

index

index(item: DateTime) -> int