bnl.core.TimeSpan

class bnl.core.TimeSpan(start, end, *, name=None)[source]

Bases: object

An 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:

name

duration

Duration in seconds.

start

end


Parameters:
property duration: float

Duration in seconds.