Package com.jalios.jtaglib
Class TimeTag
- java.lang.Object
-
- javax.servlet.jsp.tagext.TagSupport
-
- com.jalios.jtaglib.TimeTag
-
- All Implemented Interfaces:
java.io.Serializable
,javax.servlet.jsp.tagext.IterationTag
,javax.servlet.jsp.tagext.JspTag
,javax.servlet.jsp.tagext.Tag
public class TimeTag extends javax.servlet.jsp.tagext.TagSupport
This tag prints a time.- Version:
- $Revision: 125344 $
- Author:
- Olivier Dedieu
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
REVISION
-
Constructor Summary
Constructors Constructor Description TimeTag()
-
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)
-
-
-
Field Detail
-
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
-
-
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
-
-