public class Range
extends java.lang.Object
| Constructor and Description |
|---|
Range(IQuantity startTime,
IQuantity endTime) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAfter(IQuantity time) |
boolean |
isBefore(IQuantity time) |
boolean |
isInside(IQuantity time) |
java.lang.String |
toString() |
public boolean isInside(IQuantity time)
true if the time is in the closed interval of this rangepublic boolean isBefore(IQuantity time)
true if the time is before the closed interval of this rangepublic boolean isAfter(IQuantity time)
true if the time is after the closed interval of this rangepublic java.lang.String toString()
toString in class java.lang.Object