Commit 592211b6 authored by R.W.Majeed's avatar R.W.Majeed
Browse files

allow null as value

parent 6bfa31e1
......@@ -39,7 +39,9 @@ public class DateTimeColumn extends Column<DateTimeAccuracy>{
@Override
public DateTimeAccuracy valueOf(Object value) throws ParseException{
value = super.preprocessValue(value);
if( value instanceof String ){
if( value == null ){
return null;
}else if( value instanceof String ){
// parse date according to format
if( formatter == null && format != null ){
formatter = DateTimeFormatter.ofPattern(format);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment