org.broadleafcommerce.openadmin.server.cto
Class BaseCtoConverterImpl.NullAwareDateConverter
java.lang.Object
org.broadleafcommerce.openadmin.server.cto.BaseCtoConverterImpl.NullAwareDateConverter
- All Implemented Interfaces:
- com.anasoft.os.daofusion.cto.server.FilterValueConverter<Date>
- Enclosing class:
- BaseCtoConverterImpl
public static class BaseCtoConverterImpl.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 |
BaseCtoConverterImpl.NullAwareDateConverter
public BaseCtoConverterImpl.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 © 2013. All Rights Reserved.