Package net.sf.eBusx.time
This package provides single Java class:
EInterval
. An EInterval
defines two instances: a begin time and an end time where
begin time is ≤ to the end time. These time may be
separately marked as inclusive or exclusive. If begin time and
end time are equal then both times must be marked as
inclusive.
While EInterval
overrides equals(Object)
it
does not implement the Comparable
interface.
Instead EInterval
implements Allen's Interval Algebra
via the following methods:
-
Class Summary Class Description EInterval Implements a time interval from oneInstant
to another.EInterval.Builder EInterval
instances may be created only by using aBuilder
instance. -
Enum Summary Enum Description EInterval.Clusivity Specifies whether an end point is inclusive or exclusive.