public class DateFormatter extends java.lang.Object implements DomFormatter<java.util.Date>
| Modifier and Type | Field and Description |
|---|---|
static java.text.SimpleDateFormat |
default_format |
| Constructor and Description |
|---|
DateFormatter() |
DateFormatter(java.text.DateFormat f) |
public DateFormatter(java.text.DateFormat f)
public DateFormatter()
public java.lang.Class<java.util.Date> getTarget()
DomFormattergetTarget in interface DomFormatter<java.util.Date>getTarget in interface uk.ac.ed.epcc.webapp.Targetted<java.util.Date>public org.w3c.dom.Node format(org.w3c.dom.Document doc,
java.util.Date date)
throws java.lang.Exception
DomFormatterformat in interface DomFormatter<java.util.Date>java.lang.Exceptiondoc - document to create result in