Projet

Général

Profil

« Précédent | Suivant » 

Révision 675e977d

Ajouté par Remy Menard il y a presque 11 ans

  • ID 675e977d6baa946d508d77b8721408cbe9155a8e
  • Parent 8fd1d584

Version 2.1

  • All:
    - a few bugs fixed!
  • DELTa:
    - uses the new DS events
  • EpcisPHI, DiscoveryPHI:
    - improves the session management
    - the account creation by the web interface adds access policies to
    the interface ("admin" policies), this is always done even if a
    corresponding account exists in the LDAP directory
  • YPSilon:
    - simplifies the service
  • Installer:
    - upgrades Apache Tomcat to 7.0.42

Voir les différences:

ETa/EpcisPHI/src/main/java/fr/unicaen/iota/epcisphi/xacml/ihm/factory/EventTimeTreeNode.java
@Override
public String getLabel() {
Calendar cal = Calendar.getInstance();
cal.setTime(minDate);
StringBuilder res = new StringBuilder();
int m = cal.get(Calendar.MONTH);
if (m < 10) {
res.append("0");
}
res.append(m);
res.append("/");
int d = cal.get(Calendar.DAY_OF_MONTH);
if (d < 10) {
res.append("0");
}
res.append(d);
res.append("/");
res.append(cal.get(Calendar.YEAR));
res.append(" -> ");
cal.setTime(maxDate);
m = cal.get(Calendar.MONTH);
if (m < 10) {
res.append("0");
}
res.append(m);
res.append("/");
d = cal.get(Calendar.DAY_OF_MONTH);
if (d < 10) {
res.append("0");
}
res.append(d);
res.append("/");
res.append(cal.get(Calendar.YEAR));
return res.toString();
Calendar calMin = Calendar.getInstance();
calMin.setTime(minDate);
Calendar calMax = Calendar.getInstance();
calMax.setTime(maxDate);
return String.format("%1$tm/%1$td/%1$tY -> %2$tm/%2$td/%2$tY", calMin, calMax);
}
@Override

Formats disponibles : Unified diff