fix invalid date type
* java.util.Date does not have valueOf (String) method.