jtp.time.func
Class PlusTimePoint
java.lang.Object
|
+--jtp.disp.AbstractRelationBasedReasoner
|
+--jtp.disp.AbstractRelationBasedBCReasoner
|
+--jtp.func.EvaluableFunctionReasoner
|
+--jtp.time.func.TimePointFunctionReasoner
|
+--jtp.time.func.PlusTimePoint
- All Implemented Interfaces:
- Reasoner, RelationBasedBCReasoner, RelationBasedReasoner, Serializable
- public class PlusTimePoint
- extends TimePointFunctionReasoner
Functional reasoner that takes a CalendarTimePoint and an integer
representing a quantity of milliseconds and returns the timepoint
that results in increasing the former by the latter.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PlusTimePoint
public PlusTimePoint(CanonicalMapping mapping,
TimeVocabulary vocab)
calculate
protected Object calculate(Object[] args)
throws ReasoningException
- Specified by:
calculate
in class TimePointFunctionReasoner
ReasoningException
addMetricPointToGraph
protected void addMetricPointToGraph(CalendarTimePoint ctp,
CalendarTimePoint[] beforeAfter)
throws ReasoningException
ReasoningException