-
- All Implemented Interfaces:
-
java.io.Serializable
,java.lang.Comparable
public interface Time implements Comparable<Time>, Serializable
Interface for time representation.
-
-
Method Summary
Modifier and Type Method Description abstract boolean
isInfinite()
Verifies if the Time is set at infinite, namely if the event will never happen. abstract Time
times(double var)
Allows to multiply this Time for a constant. abstract Time
minus(Time dt)
Allows to subtract a Time to this Time. abstract Time
plus(Time dt)
Allows to add a Time to this Time. abstract double
toDouble()
Allows to get a double representation of this Time. -
-
Method Detail
-
isInfinite
abstract boolean isInfinite()
Verifies if the Time is set at infinite, namely if the event will never happen.
-
-
-
-