TimeRelation

digraph InheritanceGraph { graph [bgcolor=transparent, color=lightsteelblue2, fontname=Arial, fontsize=10, outputorder=edgesfirst, overlap=prism, penwidth=2, rankdir=LR, splines=spline, style="dashed, rounded", truecolor=true]; node [colorscheme=pastel19, fontname=Arial, fontsize=10, height=0, penwidth=2, shape=box, style="filled, rounded", width=0]; edge [color=lightslategrey, penwidth=1]; subgraph "cluster_abjad.system" { graph [label="abjad.system"]; node [color=1]; "abjad.system.AbjadObject.AbjadObject" [URL="../api/abjad/timespans/../system/AbjadObject.html#abjad.system.AbjadObject.AbjadObject", label="Abjad\nObject", target=_top]; "abjad.system.AbjadValueObject.AbjadValueObject" [URL="../api/abjad/timespans/../system/AbjadValueObject.html#abjad.system.AbjadValueObject.AbjadValueObject", label="Abjad\nValue\nObject", target=_top]; "abjad.system.AbjadObject.AbjadObject" -> "abjad.system.AbjadValueObject.AbjadValueObject"; } subgraph "cluster_abjad.timespans" { graph [label="abjad.timespans"]; node [color=2]; "abjad.timespans.OffsetTimespanTimeRelation.OffsetTimespanTimeRelation" [URL="../api/abjad/timespans/OffsetTimespanTimeRelation.html#abjad.timespans.OffsetTimespanTimeRelation.OffsetTimespanTimeRelation", label="Offset\nTimespan\nTime\nRelation", target=_top]; "abjad.timespans.TimeRelation.TimeRelation" [URL="../api/abjad/timespans/TimeRelation.html#abjad.timespans.TimeRelation.TimeRelation", color=black, fontcolor=white, label="Time\nRelation", shape=oval, style="bold, filled", target=_top]; "abjad.timespans.TimespanTimespanTimeRelation.TimespanTimespanTimeRelation" [URL="../api/abjad/timespans/TimespanTimespanTimeRelation.html#abjad.timespans.TimespanTimespanTimeRelation.TimespanTimespanTimeRelation", label="Timespan\nTimespan\nTime\nRelation", target=_top]; "abjad.timespans.TimeRelation.TimeRelation" -> "abjad.timespans.OffsetTimespanTimeRelation.OffsetTimespanTimeRelation"; "abjad.timespans.TimeRelation.TimeRelation" -> "abjad.timespans.TimespanTimespanTimeRelation.TimespanTimespanTimeRelation"; } subgraph cluster_builtins { graph [label=builtins]; node [color=3]; "builtins.object" [URL="https://docs.python.org/3.6/library/functions.html#object", label=object, target=_top]; } "abjad.system.AbjadValueObject.AbjadValueObject" -> "abjad.timespans.TimeRelation.TimeRelation"; "builtins.object" -> "abjad.system.AbjadObject.AbjadObject"; }

abstract class abjad.timespans.TimeRelation.TimeRelation(inequality=None)

Time relation.

Time relations are immutable.


Attributes Summary

__call__ Evaluates time relation.
__format__ Formats time relation.
__hash__ Hashes time relation.
inequality Time relation inequality.
is_fully_loaded Is true when both time relation terms are not none.
is_fully_unloaded Is true when both time relation terms are none.

Special methods

abstract __call__()

Evaluates time relation.

Returns true or false.

(AbjadValueObject).__copy__(*arguments)

Copies Abjad value object.

Returns new Abjad value object.

(AbjadValueObject).__eq__(argument)

Is true when all initialization values of Abjad value object equal the initialization values of argument.

Returns true or false.

__format__(format_specification='')

Formats time relation.

Returns string.

__hash__()

Hashes time relation.

Required to be explicitly redefined on Python 3 if __eq__ changes.

Returns integer.

(AbjadObject).__repr__()

Gets interpreter representation of Abjad object.

Returns string.


Read-only properties

inequality

Time relation inequality.

Return ineqality.

abstract is_fully_loaded

Is true when both time relation terms are not none.

Returns true or false.

abstract is_fully_unloaded

Is true when both time relation terms are none.

Returns true or false.