@SuppressWarnings("unchecked")
@Override
public String reformat(Object in) {
Timestamp start = null, end = null;
if (in instanceof GenericBean) {
GenericBean bean = (GenericBean) in;
start = (Timestamp) bean.get(startCol);
end = (Timestamp) bean.get(endCol);
} else if (in instanceof Map) {
Map<String, Object> map = (Map<String, Object>) in;
start = (Timestamp) map.get(startCol);
end = (Timestamp) map.get(endCol);
}