Exemplo n.º 1
0
 public static Date getBaseDate(ProjectCreator creator) {
   try {
     return creator.createProject().getBaseDate();
   } catch (ProjectException e) {
     e.printStackTrace();
   }
   return null;
 }
Exemplo n.º 2
0
 public static Date getBaseDateFromJSON(File f) {
   try {
     return getBaseDate(new JSONProjectCreator(f));
   } catch (ProjectException e) {
     e.printStackTrace();
   }
   return null;
 }