org.nuiton.util.csv
Class Common.DateValue
java.lang.Object
org.nuiton.util.csv.Common.DateValue
- All Implemented Interfaces:
- ValueFormatter<Date>, ValueParser<Date>, ValueParserFormatter<Date>
- Enclosing class:
- Common
public static class Common.DateValue
- extends Object
- implements ValueParserFormatter<Date>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
dateFormat
protected DateFormat dateFormat
Common.DateValue
public Common.DateValue(String dateFormatPattern)
parse
public Date parse(String value)
throws ParseException
- Specified by:
parse in interface ValueParser<Date>
- Throws:
ParseException
format
public String format(Date date)
- Specified by:
format in interface ValueFormatter<Date>
Copyright © 2011 CodeLutin. All Rights Reserved.