예제 #1
0
 public void setCreateDateStr(String createDateStr) throws ParseException {
   setCreateDate(
       (createDateStr == null || createDateStr.equals(""))
           ? null
           : DateUtils.DATE_FORMAT.parse(createDateStr));
 }
예제 #2
0
 public String getCreateDateStr() {
   return getCreateDate() == null ? "" : DateUtils.DATE_FORMAT.format(getCreateDate());
 }