The TimeInterval
class implements Allen's Interval Algebra (first 13). Basic: equals Main: before, meets, overlaps, during, starts, finishes Converse: after, metBy, overlapBy, contains, startBy, finishBy Merge: merge, mergeGap, conflict
Value parameters
- t1
-
the time of the start of the interval (inclusive)
- t2
-
the time of the end of the interval (inclusive)
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Members list
Value members
Concrete methods
Determine whether this time-interval is entirely after time-interval y.
Determine whether this time-interval is entirely after time-interval y.
Value parameters
- y
-
the other time-interval
Attributes
Determine whether this time-interval is entirely before time-interval y.
Determine whether this time-interval is entirely before time-interval y.
Value parameters
- y
-
the other time-interval
Attributes
Determine whether time-interval this and time-interval y have a time conflict.
Determine whether time-interval this and time-interval y have a time conflict.
Value parameters
- y
-
the other time-interval
Attributes
Determine whether this time-interval is the same as time-interval y.
Determine whether this time-interval is the same as time-interval y.
Value parameters
- y
-
the other time-interval
Attributes
Convert this time-interval to a range of time-of-week strings.
Convert this time-interval to a range of time-of-week strings.
Attributes
If time-intervals this and y are disjoint, return null; otherwise return a merged time-interval.
If time-intervals this and y are disjoint, return null; otherwise return a merged time-interval.
Value parameters
- y
-
the other time-interval
Attributes
If time-intervals this and y are disjoint beyond the gap, return null; otherwise return a merged time-interval.
If time-intervals this and y are disjoint beyond the gap, return null; otherwise return a merged time-interval.
Value parameters
- gap
-
the allowable time gap (e.g., 15 minutes gap between student classes)
- y
-
the other time-interval
Attributes
Convert this time-interval to a range of time-number (date-time) strings.
Convert this time-interval to a range of time-number (date-time) strings.
Attributes
- Definition Classes
-
Any
Inherited methods
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product