예제 #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();
 }