Methods Summary |
---|
public java.util.Date | getDate()
return this.date;
|
public java.lang.String | getFormattedDate()
return format.format(date);
|
public void | setDate(java.lang.String date)
try {
this.date = parser.parse(date);
} catch (ParseException e) {
throw new IllegalArgumentException(e.getMessage());
}
|
public void | setDate(java.util.Date date)
this.date = date;
|
public void | setDate(int date)
setDate(Integer.toString(date));
|
public void | setFormat(java.lang.String format)
this.format = new SimpleDateFormat(format);
|
public void | setFormat(java.text.DateFormat format)
this.format = format;
|
public void | setParseFormat(java.lang.String format)
this.parser = new SimpleDateFormat(format);
|
public void | setParser(java.text.DateFormat parser)
this.parser = parser;
|
public void | setTime(long time)
date.setTime(time);
|