View source on GitHub
|
A dataclass wrapper around a tuple of (start, end) dates.
scenarioplanner.converters.mmm.DateInterval(
date_interval: _DateIntervalTuple
)
Attributes | |
|---|---|
end
|
|
start
|
|
date_interval
|
Dataclass field |
Methods
__contains__
__contains__(
date: datetime.date
) -> bool
Returns whether this date interval contains the given date.
__eq__
__eq__(
other
)
Return self==value.
__lt__
__lt__(
other: 'DateInterval'
) -> bool
Return self<value.
View source on GitHub