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