public class FormatDateTag
extends javax.servlet.jsp.tagext.TagSupport
<openmrs:formatDate date="${dateObj}" type="textbox"/>becomes a string like: "20/11/2009" in the user's current locale.
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
FormatDateTag() |
Modifier and Type | Method and Description |
---|---|
int |
doStartTag() |
java.util.Date |
getDate() |
java.lang.String |
getFormat() |
java.lang.String |
getPath() |
java.lang.String |
getType() |
void |
release()
Clean up the variables
|
void |
setDate(java.util.Date date) |
void |
setFormat(java.lang.String format) |
void |
setPath(java.lang.String path) |
void |
setType(java.lang.String type) |
public static final long serialVersionUID
public int doStartTag()
doStartTag
in interface javax.servlet.jsp.tagext.Tag
doStartTag
in class javax.servlet.jsp.tagext.TagSupport
public void release()
release
in interface javax.servlet.jsp.tagext.Tag
release
in class javax.servlet.jsp.tagext.TagSupport
public java.util.Date getDate()
public void setDate(java.util.Date date)
public java.lang.String getPath()
public void setPath(java.lang.String path)
public java.lang.String getFormat()
public void setFormat(java.lang.String format)
public java.lang.String getType()
public void setType(java.lang.String type)
Copyright © 2018 OpenMRS Inc.. All Rights Reserved.