public String getDate() { acctualTime = (System.currentTimeMillis() - beginTime) / 1000; return "Heure Virtuelle : Jour - " + getDay() + ", Heure - " + getHour() + ":" + getMin() + " (" + getSec() + ")"; }
private Element mkTimeStampXML() { nanotime = System.currentTimeMillis(); Element timestamp = new Element("timestamp").setText(Long.toString(nanotime)); return timestamp; }
public String getTimeXML() { acctualTime = (System.currentTimeMillis() - beginTime) / 1000; Document doc = getDoc(); String xml = xmlToString(doc); return xml; }
public Isotime() { beginTime = System.currentTimeMillis(); System.out.println(getDate()); // start(); }