com.jaxfront.core.jep
Class CommonServerDate
java.lang.Object
org.nfunk.jep.function.PostfixMathCommand
com.jaxfront.core.jep.JaxfrontMathCommand
com.jaxfront.core.jep.SuperTypeNode
com.jaxfront.core.jep.CommonServerDate
- All Implemented Interfaces:
- org.nfunk.jep.function.PostfixMathCommandI
public class CommonServerDate
- extends SuperTypeNode
Gets the current date. It is possible to determine the date pattern.
| Methods inherited from class org.nfunk.jep.function.PostfixMathCommand |
getNumberOfParameters, getRootNode, isFastFailable, run, setCurNumberOfParameters |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CommonServerDate
public CommonServerDate()
- Constructor.
CommonServerDate
public CommonServerDate(java.lang.String pattern)
run
public void run(MathEvaluator.MathCommunicator communicator,
java.util.Stack stack)
throws org.nfunk.jep.ParseException
- Specified by:
run in class JaxfrontMathCommand
- Throws:
org.nfunk.jep.ParseException- See Also:
org.nfunk.jep.function.PostfixMathCommandI#run(Stack)