Save This Page
Home » quartz-1.6.0 » org » quartz » xml » [javadoc | source]
org.quartz.xml
public final class: JobSchedulingDataProcessor.DateConverter [javadoc | source]
java.lang.Object
   org.quartz.xml.JobSchedulingDataProcessor$DateConverter

All Implemented Interfaces:
    org.apache.commons.beanutils.Converter

Standard Converter implementation that converts an incoming String into a java.util.Date object, optionally using a default value or throwing a ConversionException if a conversion error occurs.

Constructor:
 public DateConverter() 
 public DateConverter(Object defaultValue) 
    Create a Converter that will return the specified default value if a conversion error occurs.
    Parameters:
    defaultValue - The default value to be returned
 public DateConverter(String[] formats) 
Method from org.quartz.xml.JobSchedulingDataProcessor$DateConverter Summary:
convert,   parseDate
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.quartz.xml.JobSchedulingDataProcessor$DateConverter Detail:
 public Object convert(Class type,
    Object value) 
    Convert the specified input object into an output object of the specified type.
 protected Date parseDate(Object value) throws ParseException