org.broadleafcommerce.openadmin.server.service.persistence.module.criteria.converter
Class NullAwareDateFilterValueConverter

java.lang.Object
  extended by org.broadleafcommerce.openadmin.server.service.persistence.module.criteria.converter.NullAwareDateFilterValueConverter
All Implemented Interfaces:
FilterValueConverter<Date>

@Component(value="blNullAwareDateFilterValueConverter")
public class NullAwareDateFilterValueConverter
extends Object
implements FilterValueConverter<Date>

Author:
Jeff Fischer

Constructor Summary
NullAwareDateFilterValueConverter()
           
 
Method Summary
 Date convert(String stringValue)
           
 Date parseDate(String value, SimpleDateFormat dateFormat)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullAwareDateFilterValueConverter

public NullAwareDateFilterValueConverter()
Method Detail

convert

public Date convert(String stringValue)
Specified by:
convert in interface FilterValueConverter<Date>

parseDate

public Date parseDate(String value,
                      SimpleDateFormat dateFormat)


Copyright © 2013. All Rights Reserved.