public class Range extends 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) |
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 rangeCopyright © 2020. All rights reserved.