org.apache.struts2.showcase
Class DateAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.apache.struts2.showcase.DateAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable

public class DateAction
extends com.opensymphony.xwork2.ActionSupport

DateAction

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
DateAction()
           
 
Method Summary
 String browse()
           
 Date getAfter()
           
 Date getBefore()
           
 String getDate()
           
 Date getFuture()
           
 Date getNow()
           
 Date getPast()
           
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setContainer, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DateAction

public DateAction()
Method Detail

getDate

public String getDate()

getFuture

public Date getFuture()
Returns:
Returns the future.

getNow

public Date getNow()
Returns:
Returns the now.

getPast

public Date getPast()
Returns:
Returns the past.

getBefore

public Date getBefore()
Returns:
Returns the before date.

getAfter

public Date getAfter()
Returns:
Returns the after date.

browse

public String browse()
              throws Exception
Throws:
Exception


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.