getSeconds() 공개 메소드

public getSeconds ( ) : long
리턴 long
예제 #1
0
파일: jsTuioTime.cs 프로젝트: BuDDi/GEA
        /**
         * This static method globally resets the TUIO session time.
         */
        public static void initSession()
        {
            TuioTime startTime = getSystemTime();

            start_seconds       = startTime.getSeconds();
            start_micro_seconds = startTime.getMicroseconds();
        }
예제 #2
0
파일: jsTuioTime.cs 프로젝트: BuDDi/GEA
 /**
  * Takes a TuioTime argument and compares the provided TuioTime to the private Seconds and Microseconds attributes.
  *
  * @param  ttime	the TuioTime to compare
  * @return true if the two TuioTime have equal Seconds and Microseconds attributes
  */
 public bool Equals(TuioTime ttime)
 {
     if ((seconds == ttime.getSeconds()) && (micro_seconds == ttime.getMicroseconds()))
     {
         return(true);
     }
     else
     {
         return(false);
     }
 }
예제 #3
0
 /**
  * Takes a TuioTime argument and compares the provided TuioTime to the private Seconds and Microseconds attributes.
  *
  * @param  ttime	the TuioTime to compare
  * @return true if the two TuioTime have equal Seconds and Microseconds attributes
  */
 public bool Equals(TuioTime ttime)
 {
     if ((seconds==ttime.getSeconds()) && (micro_seconds==ttime.getMicroseconds())) return true;
     else return false;
 }
예제 #4
0
 /**
  * This constructor takes the provided TuioTime
  * and assigs its Seconds and Microseconds values to the newly created TuioTime.
  *
  * @param ttime the TuioTime used to copy
  */
 public TuioTime(TuioTime ttime)
 {
     this.seconds       = ttime.getSeconds();
     this.micro_seconds = ttime.getMicroseconds();
 }
예제 #5
0
파일: BBTuioTime.cs 프로젝트: Scopty/Spixii
 /**
  * This constructor takes the provided TuioTime
  * and assigs its Seconds and Microseconds values to the newly created TuioTime.
  *
  * @param ttime the TuioTime used to copy
  */
 public TuioTime(TuioTime ttime)
 {
     this.seconds = ttime.getSeconds();
     this.micro_seconds = ttime.getMicroseconds();
 }