public class HistoryFactory.Mapper extends java.lang.Object implements RangeMapper<H>
TimeChart
![]() |
![]() |
![]() |
Constructor and Description |
---|
Mapper(java.lang.String field) |
Modifier and Type | Method and Description |
---|---|
boolean |
after(H h,
java.util.Date point) |
boolean |
before(H h,
java.util.Date point) |
float |
getOverlapp(H h,
java.util.Date start,
java.util.Date end)
get the contribution of the object to the specified time period.
|
boolean |
overlapps(H h,
java.util.Date start,
java.util.Date end)
does this object overlap with the specified time period.
|
public boolean after(H h, java.util.Date point)
public boolean before(H h, java.util.Date point)
public float getOverlapp(H h, java.util.Date start, java.util.Date end)
RangeMapper
getOverlapp
in interface RangeMapper<H extends HistoryFactory.HistoryRecord<P>>
start
- period start as Dateend
- period end as Datepublic boolean overlapps(H h, java.util.Date start, java.util.Date end)
RangeMapper
overlapps
in interface RangeMapper<H extends HistoryFactory.HistoryRecord<P>>
start
- period start as Dateend
- period end as Date