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


Field Summary
protected  FieldItem field
           
protected  SimpleDateFormat format
           
 
Constructor Summary
DateFormat(FieldItem field)
           
 
Method Summary
 String format(Object value)
           
protected  SimpleDateFormat getFormat(FieldItem field)
           
 Object parse(String str, ParsePosition pos)
           
 Date parseDate(String str, ParsePosition pos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

format

protected SimpleDateFormat format

field

protected FieldItem field
Constructor Detail

DateFormat

public DateFormat(FieldItem field)
Method Detail

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)