public class DateRangeAdaptor extends Object implements IRangeAdaptor<DateRange,Long>
| Modifier and Type | Method and Description |
|---|---|
Long |
adaptValueType(Object value)
Adapts value type to the type of specific
IRangeAdaptor implementation. |
static IRangeAdaptor<DateRange,Long> |
getInstance() |
Long |
getMax(DateRange range)
Gets max value of range.
|
Long |
getMin(DateRange range)
Gets min value of range.
|
boolean |
useOriginalSource() |
public static IRangeAdaptor<DateRange,Long> getInstance()
public Long getMax(DateRange range)
IRangeAdaptorgetMax in interface IRangeAdaptor<DateRange,Long>public Long getMin(DateRange range)
IRangeAdaptorgetMin in interface IRangeAdaptor<DateRange,Long>public Long adaptValueType(Object value)
IRangeAdaptorIRangeAdaptor implementation. To have the possibility to
compare these values.adaptValueType in interface IRangeAdaptor<DateRange,Long>value - that is going to be compared with values returned by IRangeAdaptor.getMax(Object) and
IRangeAdaptor.getMin(Object) values.IRangeAdaptor implementation.public boolean useOriginalSource()
useOriginalSource in interface IRangeAdaptor<DateRange,Long>Copyright © 2004–2019 OpenL Tablets. All rights reserved.