示例#1
0
 @Override
 public void appendToResponse(WOResponse r, WOContext c) {
   NSTimestamp date = (NSTimestamp) objectPropertyValue();
   if (date != null) {
     try {
       dateString = dateFormatter().format(date);
     } catch (IllegalArgumentException nsfe) {
       // nothing?
     }
   } else {
     dateString = null;
   }
   super.appendToResponse(r, c);
 }