Class FormatDateTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- org.silverpeas.core.web.util.viewgenerator.html.FormatDateTag
-
- All Implemented Interfaces:
Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class FormatDateTag extends javax.servlet.jsp.tagext.TagSupport
A tag to print out a localized datetime according to the language of the user.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormatDateTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doStartTag()
String
getLanguage()
Date
getValue()
void
setLanguage(String language)
void
setValue(Date value)
-
-
-
Method Detail
-
doStartTag
public int doStartTag() throws javax.servlet.jsp.JspException
- Specified by:
doStartTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doStartTag
in classjavax.servlet.jsp.tagext.TagSupport
- Throws:
javax.servlet.jsp.JspException
-
getValue
public Date getValue()
-
setValue
public void setValue(Date value)
-
getLanguage
public String getLanguage()
-
setLanguage
public void setLanguage(String language)
-
-