-
- 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 booleanisInfinite()Verifies if the Time is set at infinite, namely if the event will never happen. abstract Timetimes(double var)Allows to multiply this Time for a constant. abstract Timeminus(Time dt)Allows to subtract a Time to this Time. abstract Timeplus(Time dt)Allows to add a Time to this Time. abstract doubletoDouble()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.
-
-
-
-