bnl.core.TimeSpan
- class bnl.core.TimeSpan(start, end, *, name=None)[source]
Bases:
objectAn abstract base class for objects that represent a span of time.
This class defines the interface for all time-spanned objects, ensuring they have start, end, duration, and name properties.
Public Data Attributes:
nameDuration in seconds.
startend
- property duration: float
Duration in seconds.