Package org.openl.rules.helpers
Class DateRange
- java.lang.Object
-
- org.openl.rules.helpers.DateRange
-
public class DateRange extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DateRangeautocast(long x, DateRange y)static DateRangeautocast(Calendar x, DateRange y)static DateRangeautocast(Date x, DateRange y)booleancontains(Date d)static intdistance(long x, DateRange y)static intdistance(Calendar x, DateRange y)static intdistance(Date x, DateRange y)booleanequals(Object o)LonggetLowerBound()ARangeParser.ParseStruct.BoundTypegetLowerBoundType()LonggetUpperBound()ARangeParser.ParseStruct.BoundTypegetUpperBoundType()inthashCode()StringtoString()
-
-
-
Method Detail
-
getLowerBound
public Long getLowerBound()
-
getUpperBound
public Long getUpperBound()
-
getLowerBoundType
public ARangeParser.ParseStruct.BoundType getLowerBoundType()
-
getUpperBoundType
public ARangeParser.ParseStruct.BoundType getUpperBoundType()
-
contains
public boolean contains(Date d)
-
distance
public static int distance(long x, DateRange y)
-
-