org.apache.struts2.util
Class DateFormatter
java.lang.Object
org.apache.struts2.util.DateFormatter
public class DateFormatter
- extends Object
A bean that can be used to format dates
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
date
Date date
format
DateFormat format
parser
DateFormat parser
DateFormatter
public DateFormatter()
setDate
public void setDate(String date)
setDate
public void setDate(Date date)
setDate
public void setDate(int date)
getDate
public Date getDate()
setFormat
public void setFormat(String format)
setFormat
public void setFormat(DateFormat format)
getFormattedDate
public String getFormattedDate()
setParseFormat
public void setParseFormat(String format)
setParser
public void setParser(DateFormat parser)
setTime
public void setTime(long time)
Copyright © 2000-2008 Apache Software Foundation. All Rights Reserved.