org.jreform.types
Class DateType
java.lang.Object
org.jreform.types.DateType
- All Implemented Interfaces:
- InputDataType<Date>
public final class DateType
- extends Object
- implements InputDataType<Date>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dateFormat
private DateFormat dateFormat
DateType
private DateType(String dateFormatPattern)
parseValue
public Date parseValue(String value)
- Description copied from interface:
InputDataType
- Parses the specified string into an object of this data type's class.
- Specified by:
parseValue
in interface InputDataType<Date>
getInputDataClass
public Class<Date> getInputDataClass()
- Description copied from interface:
InputDataType
- Returns class of input's data.
- Specified by:
getInputDataClass
in interface InputDataType<Date>
dateType
public static InputDataType<Date> dateType(String dateFormatPattern)
Copyright © 2007-2008
jReform