org.broadleafcommerce.openadmin.server.cto
Class BaseCtoConverter.NullAwareDateConverter
java.lang.Object
org.broadleafcommerce.openadmin.server.cto.BaseCtoConverter.NullAwareDateConverter
- All Implemented Interfaces:
- com.anasoft.os.daofusion.cto.server.FilterValueConverter<Date>
- Enclosing class:
- BaseCtoConverter
public static class BaseCtoConverter.NullAwareDateConverter
- extends Object
- implements com.anasoft.os.daofusion.cto.server.FilterValueConverter<Date>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BaseCtoConverter.NullAwareDateConverter
public BaseCtoConverter.NullAwareDateConverter(String dateFormatPattern)
- Creates a new converter.
- Parameters:
dateFormatPattern - Pattern describing the date format.
getDateFormatPattern
public String getDateFormatPattern()
- Returns:
- Pattern describing the date format.
convert
public Date convert(String stringValue)
- Specified by:
convert in interface com.anasoft.os.daofusion.cto.server.FilterValueConverter<Date>
- See Also:
FilterValueConverter.convert(java.lang.String)
parseDate
public Date parseDate(String value,
String dateFormatPattern)
Copyright © 2012. All Rights Reserved.