org.dasein.net.jsp.date
Class IncrementTag

java.lang.Object
  extended by javax.servlet.jsp.tagext.TagSupport
      extended by org.dasein.net.jsp.date.IncrementTag
All Implemented Interfaces:
Serializable, javax.servlet.jsp.tagext.IterationTag, javax.servlet.jsp.tagext.Tag

public class IncrementTag
extends javax.servlet.jsp.tagext.TagSupport

Increments a calendar by the specified values.

Last modified: $Date: 2006/01/12 17:16:45 $

Version:
$Revision: 1.1 $
Author:
George Reese
See Also:
Serialized Form

Field Summary
 
Fields inherited from class javax.servlet.jsp.tagext.TagSupport
id, pageContext
 
Fields inherited from interface javax.servlet.jsp.tagext.IterationTag
EVAL_BODY_AGAIN
 
Fields inherited from interface javax.servlet.jsp.tagext.Tag
EVAL_BODY_INCLUDE, EVAL_PAGE, SKIP_BODY, SKIP_PAGE
 
Constructor Summary
IncrementTag()
           
 
Method Summary
 int doEndTag()
           
 void setCalendar(String cal)
           
 void setIncrement(String inc)
           
 void setPeriod(String per)
           
 
Methods inherited from class javax.servlet.jsp.tagext.TagSupport
doAfterBody, doStartTag, findAncestorWithClass, getId, getParent, getValue, getValues, release, removeValue, setId, setPageContext, setParent, setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IncrementTag

public IncrementTag()
Method Detail

doEndTag

public int doEndTag()
             throws javax.servlet.jsp.JspException
Specified by:
doEndTag in interface javax.servlet.jsp.tagext.Tag
Overrides:
doEndTag in class javax.servlet.jsp.tagext.TagSupport
Throws:
javax.servlet.jsp.JspException

setCalendar

public void setCalendar(String cal)
                 throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setIncrement

public void setIncrement(String inc)
                  throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException

setPeriod

public void setPeriod(String per)
               throws javax.servlet.jsp.JspException
Throws:
javax.servlet.jsp.JspException