org.objectweb.jac.aspects.gui
Class DateFormat
java.lang.Object
|
+--org.objectweb.jac.aspects.gui.DateFormat
- All Implemented Interfaces:
- Format
- Direct Known Subclasses:
- DateHourFormat
- public class DateFormat
- extends Object
- implements Format
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
format
protected SimpleDateFormat format
field
protected FieldItem field
DateFormat
public DateFormat(FieldItem field)
getFormat
protected SimpleDateFormat getFormat(FieldItem field)
format
public String format(Object value)
- Specified by:
format
in interface Format
parse
public Object parse(String str,
ParsePosition pos)
- Specified by:
parse
in interface Format
parseDate
public Date parseDate(String str,
ParsePosition pos)