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:
Action, LocaleProvider, TextProvider, Validateable, ValidationAware, java.io.Serializable

public class DateAction
extends 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
 java.lang.String browse()
           
 java.util.Date getAfter()
           
 java.util.Date getBefore()
           
 java.lang.String getDate()
           
 java.util.Date getFuture()
           
 java.util.Date getNow()
           
 java.util.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 java.lang.String getDate()

getFuture

public java.util.Date getFuture()
Returns:
Returns the future.

getNow

public java.util.Date getNow()
Returns:
Returns the now.

getPast

public java.util.Date getPast()
Returns:
Returns the past.

getBefore

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

getAfter

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

browse

public java.lang.String browse()
                        throws java.lang.Exception
Throws:
java.lang.Exception


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