Java Time Passed printTimeElapsed(long starttime)

Here you can find the source of printTimeElapsed(long starttime)

Description

print Time Elapsed

License

Open Source License

Declaration

public static void printTimeElapsed(long starttime) 

Method Source Code

//package com.java2s;
//License from project: Open Source License 

public class Main {
    public static void printTimeElapsed(long starttime) {
        long now = System.nanoTime();
        System.out.println("elapsed time " + (now - starttime) / 1000 + " mi" + "" + "cro-secs");
    }/*from   w  ww  . ja v a 2 s . c  om*/
}

Related

  1. isConfilct(String begintimeOne, String endtimeOne, String begintimeTwo, String endtimeTwo)
  2. isExpire(String strTime, String strExpiredTime)
  3. isInBetweenTimes(String startTime, String endTime)
  4. isLimitTimeScope(String minTime, String maxTime)