You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I cound not find out which package is supplying the toDate function I modified the sample given at http://gexf.net/gexf4j/
So I replaced:
gexf.getMetadata().setLastModified(toDate("2009-03-20")).setCreator("Gephi.org").setDescription("A Web network");
by:
DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
Date date = null;
try {
date = df.parse("2009-03-20");
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
gexf.getMetadata().setLastModified(date).setCreator("Gephi.org").setDescription("A Web network");
The text was updated successfully, but these errors were encountered:
As I cound not find out which package is supplying the toDate function I modified the sample given at http://gexf.net/gexf4j/
So I replaced:
gexf.getMetadata().setLastModified(toDate("2009-03-20")).setCreator("Gephi.org").setDescription("A Web network");
by:
DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
Date date = null;
try {
date = df.parse("2009-03-20");
} catch (ParseException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
The text was updated successfully, but these errors were encountered: