public class TemporalEvaluatorYear extends TemporalEvaluator
Modifier and Type | Field and Description |
---|---|
static String |
FUNCTION_NAME |
constructingFactory, nodeId, serialVersionUID, streamContext, subEvaluators
Constructor and Description |
---|
TemporalEvaluatorYear(StreamExpression expression,
StreamFactory factory) |
Modifier and Type | Method and Description |
---|---|
Object |
evaluateDate(TemporalAccessor aDate) |
String |
getFunction() |
evaluate, getInstant, toExplanation, toExpression
getStreamContext, setStreamContext
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
evaluateOverContext
public static final String FUNCTION_NAME
public TemporalEvaluatorYear(StreamExpression expression, StreamFactory factory) throws IOException
IOException
public String getFunction()
getFunction
in class TemporalEvaluator
public Object evaluateDate(TemporalAccessor aDate)
evaluateDate
in class TemporalEvaluator
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.