ElegantJ Data Tables Java API Specification v1.1

com.elegantj.data.parser.postfixmathcommand
Class DaysAfter

java.lang.Object
  extended bycom.elegantj.data.parser.postfixmathcommand.PostfixMathCommand
      extended bycom.elegantj.data.parser.postfixmathcommand.DaysAfter
All Implemented Interfaces:
PostfixMathCommandI

public class DaysAfter
extends PostfixMathCommand

Determines the date after the specified days
Command Method -> daysAfter


Constructor Summary
DaysAfter()
           
 
Method Summary
 int daysAfter(java.sql.Date date1, java.sql.Date date2)
          Returns the number of days one date occurs after another
 void run(java.util.Stack inStack)
          Determines the node execution with the stack of arguments and store the result back to the stack.
 
Methods inherited from class com.elegantj.data.parser.postfixmathcommand.PostfixMathCommand
checkStack, getNumberOfParameters, getParameterTypes, getReturnType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DaysAfter

public DaysAfter()
Method Detail

daysAfter

public int daysAfter(java.sql.Date date1,
                     java.sql.Date date2)
Returns the number of days one date occurs after another

Parameters:
date1 - the first date
Returns:
the number of days between date1 and date2

run

public void run(java.util.Stack inStack)
         throws CommandFailedException,
                ArgumentRequiredException,
                InvalidArgumentException
Description copied from interface: PostfixMathCommandI
Determines the node execution with the stack of arguments and store the result back to the stack.

Parameters:
inStack - the stack of the arguments
Throws:
CommandFailedException
ArgumentRequiredException
InvalidArgumentException

ElegantJ Data Tables Java API Specification v1.1

Submit a bug or feature

Copyright(c)
Elegant Microweb Technologies Pvt. Ltd.
www.elegantmicroweb.com
www.elegantjbeans.com
All Rights Reserved.