com.crocus.examples.csv.fields
Class DateField

java.lang.Object
  extended by java.util.Date
      extended by com.crocus.examples.csv.fields.DateField
All Implemented Interfaces:
CSVField, Serializable, Cloneable, Comparable<Date>

public class DateField
extends Date
implements CSVField

See Also:
Serialized Form

Constructor Summary
DateField(String date)
           
 
Method Summary
 int getType()
          get the type of the value
 Object getValue()
          get the current Value
 String toString()
           
 
Methods inherited from class java.util.Date
after, before, clone, compareTo, equals, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTime, getTimezoneOffset, getYear, hashCode, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setTime, setYear, toGMTString, toLocaleString, UTC
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DateField

public DateField(String date)
          throws ParseException
Parameters:
date - String
Throws:
ParseException
Method Detail

getType

public int getType()
Description copied from interface: CSVField
get the type of the value

Specified by:
getType in interface CSVField
Returns:
int

getValue

public Object getValue()
Description copied from interface: CSVField
get the current Value

Specified by:
getValue in interface CSVField
Returns:
Object

toString

public String toString()
Overrides:
toString in class Date
Returns:
String

Crocus - The First Flower of Spring