this.pattern = pattern == null ? DateParser.DEFAULT_PATTERN : pattern;
this.dateParser = new DateParser(this.pattern);
}
@Override
protected Long doBase(String name, Object value) {
<BUG>Date opt = dateParser.parse(value);

if (opt == null) {
return null;
} else {
return opt.getTime();
}
}</BUG>
@Override

this.pattern = pattern == null ? DateParser.DEFAULT_PATTERN : pattern;
this.dateParser = new DateParser(this.pattern);
}
@Override
protected Long doBase(String name, Object value) {
Date date = dateParser.parse(value);
return date == null ? null : date.getTime();
}
@Override
protected <K> Long doBase(Column<K> column) {
Date date = dateParser.parse(column);
return date == null ? null : date.getTime();
}
@Override
