Skip to content

datethyme.DateTimePartition

This is the documentation page for the DateTimePartition class.

datethyme.scheduling.types.DateTimePartition

Bases: AbstractPartition[DateTime]

daterange property

daterange: DateRange

passes_day_boundary property

passes_day_boundary: bool

format_span staticmethod

format_span(span: SpanProtocol[DateTime] | PartitionProtocol[DateTime], indent: int = 0) -> str

from_datetimes classmethod

from_datetimes(times: Iterable[DateTime], names: Iterable[str | None] | None = None) -> Self