Skip to content

datethyme.MinuteRangeDated

This is the documentation page for the MinuteRangeDated class.

datethyme.MinuteRangeDated

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__(slc: slice, inclusive: bool = True) -> MinuteRangeDated

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)

__len__

__len__() -> int

__reversed__

__reversed__() -> Self

_increment

_increment() -> None

count

count(item: DateTime) -> int

index

index(item: DateTime) -> int