Ejemplo n.º 1
0
 public void setCreatedOn(String createdOn) {
   this.createdOn = createdOn;
   try {
     product.setCreatedOn(CustomDateFormatter.getDateTimeFromString(createdOn));
   } catch (ParseException ex) {
     ex.printStackTrace();
     product.setCreatedOn(null);
   }
 }
 public void setCompatibilityTestDate(String compatibilityTestDate) {
   this.compatiblityTestDate = compatibilityTestDate;
   try {
     compatibilityTest.setCompatibilityTestDate(
         CustomDateFormatter.getDateTimeFromString(compatibilityTestDate));
   } catch (ParseException ex) {
     ex.printStackTrace();
     compatibilityTest.setCompatibilityTestDate(null);
   }
 }