Enum Class IntervalRelation

java.lang.Object
java.lang.Enum<IntervalRelation>
net.time4j.range.IntervalRelation
All Implemented Interfaces:
Serializable, Comparable<IntervalRelation>, java.lang.constant.Constable

public enum IntervalRelation extends Enum<IntervalRelation>

Represents an Allen-relation between two intervals.

Given any two intervals, there is always a unique and distinct relation between them without ambivalence. There are 13 possible relations.

Allen-Relations
precedesprecedes
meetsmeets
overlapsoverlaps
finishedByfinishedBy
enclosesencloses
startsstarts
equivalentequivalent
startedBystartedBy
enclosedByenclosedBy
finishesfinishes
overlappedByoverlappedBy
metBymetBy
precededByprecededBy

Further explanations can be found at the website of Allen's interval algebra.

Since:
2.0
Author:
Meno Hochschild