public class YearFunction extends FunctionNode
GroupingExpression
. It evaluates to a long that equals
the full year (e.g. 2010) of the result of the argument.Constructor and Description |
---|
YearFunction(GroupingExpression exp)
Constructs a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
YearFunction |
copy()
Returns a deep copy of this
|
args, asList, asList, asList, getArg, getNumArgs, iterator, resolveLevel, visit
asImage, asString, getLevel, getLevelOrNull, setLabel
getImage, getLabel, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
forEach, spliterator
public YearFunction(GroupingExpression exp)
exp
- The expression to evaluate, must evaluate to a long.public YearFunction copy()
GroupingExpression
copy
in class GroupingExpression
Copyright © 2018. All rights reserved.