com.jaxfront.core.jep
Class CurrentDate

java.lang.Object
  extended by org.nfunk.jep.function.PostfixMathCommand
      extended by com.jaxfront.core.jep.JaxfrontMathCommand
          extended by com.jaxfront.core.jep.SuperTypeNode
              extended by com.jaxfront.core.jep.CurrentDate
All Implemented Interfaces:
org.nfunk.jep.function.PostfixMathCommandI

public class CurrentDate
extends SuperTypeNode

Gets the current date. It is possible to determine the date pattern.

Version:
1.60

Field Summary
 
Fields inherited from class com.jaxfront.core.jep.SuperTypeNode
isFalse, isTrue
 
Constructor Summary
CurrentDate()
          Constructor.
CurrentDate(java.lang.String pattern)
           
 
Method Summary
 void run(MathEvaluator.MathCommunicator communicator, java.util.Stack stack)
           
 
Methods inherited from class com.jaxfront.core.jep.SuperTypeNode
release
 
Methods inherited from class com.jaxfront.core.jep.JaxfrontMathCommand
run
 
Methods inherited from class org.nfunk.jep.function.PostfixMathCommand
getNumberOfParameters, getRootNode, run, setCurNumberOfParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CurrentDate

public CurrentDate()
Constructor.


CurrentDate

public CurrentDate(java.lang.String pattern)
Method Detail

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)