Class DateAction

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

public class DateAction extends ActionSupport
DateAction
See Also:
  • Constructor Details

    • DateAction

      public DateAction()
  • Method Details

    • 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