Skip to content

datethyme.HourRangeDated

This is the documentation page for the HourRangeDated class.

datethyme.HourRangeDated

Bases: AbstractRange[DateTime]

_current instance-attribute

_current = start

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__(idx: int) -> DateTime

__init__

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

__len__

__len__() -> int

__reversed__

__reversed__() -> Self

_increment

_increment() -> None

count

count(item: DateTime) -> int

index

index(item: DateTime) -> int