TimespanSimultaneity

class supriya.tools.timetools.TimespanSimultaneity(timespan_collection=None, overlap_timespans=None, start_timespans=None, start_offset=None, stop_timespans=None)[source]

A simultaneity of timespans in a timespan collection.

Lineage

digraph InheritanceGraph { graph [background=transparent, bgcolor=transparent, color=lightslategrey, fontname=Arial, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, root="__builtin__.object", splines=spline, style="dotted, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=12, penwidth=2, style="filled, rounded"]; edge [color=lightsteelblue2, penwidth=2]; subgraph cluster_builtins { graph [label=builtins]; "builtins.object" [color=1, group=0, label=object, shape=box]; } subgraph cluster_systemtools { graph [label=systemtools]; "supriya.tools.systemtools.SupriyaObject.AbstractBase" [color=2, group=1, label=AbstractBase, shape=box]; "supriya.tools.systemtools.SupriyaObject.SupriyaObject" [color=2, group=1, label=SupriyaObject, shape=box]; "supriya.tools.systemtools.SupriyaObject.AbstractBase" -> "supriya.tools.systemtools.SupriyaObject.SupriyaObject"; } subgraph cluster_timetools { graph [label=timetools]; "supriya.tools.timetools.TimespanSimultaneity.TimespanSimultaneity" [color=black, fontcolor=white, group=2, label=<<B>TimespanSimultaneity</B>>, shape=box, style="filled, rounded"]; } "builtins.object" -> "supriya.tools.systemtools.SupriyaObject.AbstractBase"; "supriya.tools.systemtools.SupriyaObject.SupriyaObject" -> "supriya.tools.timetools.TimespanSimultaneity.TimespanSimultaneity"; }

Bases

Attribute summary

next_simultaneity Gets the next simultaneity in this simultaneity’s timespan collection.
next_start_offset Gets the next simultaneity start offset in this simultaneity’s timespan collection.
overlap_timespans Gets the timespans in this simultaneity which overlap this simultaneity’s start offset.
previous_simultaneity Gets the previous simultaneity in this simultaneity’s timespan collection.
previous_start_offset Gets the previous simultaneity start offset in this simultaneity’s timespan collection.
start_offset Gets this simultaneity’s start offset.
start_timespans Gets the timespans in this simultaneity which start at this simultaneity’s start offset.
stop_timespans Gets the timespans in this simultaneity which stop at this simultaneity’s start offset.
timespan_collection Gets this simultaneity’s timespan collection.
__eq__(expr) Is true when ID of expr equals ID of Supriya object.
__format__([format_specification]) Formats Supriya object.
__hash__() Hashes Supriya object.
__repr__() Gets the repr of this simultaneity.

Read-only properties

TimespanSimultaneity.next_simultaneity

Gets the next simultaneity in this simultaneity’s timespan collection.

TimespanSimultaneity.next_start_offset

Gets the next simultaneity start offset in this simultaneity’s timespan collection.

TimespanSimultaneity.overlap_timespans

Gets the timespans in this simultaneity which overlap this simultaneity’s start offset.

TimespanSimultaneity.previous_simultaneity

Gets the previous simultaneity in this simultaneity’s timespan collection.

TimespanSimultaneity.previous_start_offset

Gets the previous simultaneity start offset in this simultaneity’s timespan collection.

TimespanSimultaneity.start_offset

Gets this simultaneity’s start offset.

TimespanSimultaneity.start_timespans

Gets the timespans in this simultaneity which start at this simultaneity’s start offset.

TimespanSimultaneity.stop_timespans

Gets the timespans in this simultaneity which stop at this simultaneity’s start offset.

TimespanSimultaneity.timespan_collection

Gets this simultaneity’s timespan collection.

Special methods

(SupriyaObject).__eq__(expr)

Is true when ID of expr equals ID of Supriya object. Otherwise false.

Returns boolean.

(SupriyaObject).__format__(format_specification='')

Formats Supriya object.

Set format_specification to ‘’ or ‘storage’. Interprets ‘’ equal to ‘storage’.

Returns string.

(SupriyaObject).__hash__()

Hashes Supriya object.

Required to be explicitely re-defined on Python 3 if __eq__ changes.

Returns integer.

TimespanSimultaneity.__repr__()[source]

Gets the repr of this simultaneity.