Package com.jalios.jtaglib
Class DateTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.jalios.jtaglib.DateTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class DateTag extends javax.servlet.jsp.tagext.TagSupport
This tag prints a date.- Author:
- Olivier Dedieu
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DateTag()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
doEndTag()
int
doStartTag()
void
setDate(java.util.Date date)
void
setFormat(java.lang.String format)
void
setLocale(java.util.Locale locale)
void
setNowifnull(boolean nowifnull)
void
setZoneId(java.time.ZoneId zoneId)
-
-
-
Method Detail
-
setDate
public void setDate(java.util.Date date)
-
setFormat
public void setFormat(java.lang.String format)
-
setLocale
public void setLocale(java.util.Locale locale)
-
setZoneId
public void setZoneId(java.time.ZoneId zoneId)
-
setNowifnull
public void setNowifnull(boolean nowifnull)
-
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
-
doEndTag
public int doEndTag()
- Specified by:
doEndTag
in interfacejavax.servlet.jsp.tagext.Tag
- Overrides:
doEndTag
in classjavax.servlet.jsp.tagext.TagSupport
-
-