Example #1
0
 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;
 }
Example #3
0
 public String getTimeXML() {
   acctualTime = (System.currentTimeMillis() - beginTime) / 1000;
   Document doc = getDoc();
   String xml = xmlToString(doc);
   return xml;
 }
Example #4
0
 public Isotime() {
   beginTime = System.currentTimeMillis();
   System.out.println(getDate());
   // start();
 }