Java Time Elapsed elapsedTime(long startTime, long endTime, double units)

Here you can find the source of elapsedTime(long startTime, long endTime, double units)

Description

elapsed Time

License

Open Source License

Declaration

private static double elapsedTime(long startTime, long endTime, double units) 

Method Source Code

//package com.java2s;

public class Main {
    private static double elapsedTime(long startTime, long endTime, double units) {
        return (endTime - startTime) / units;
    }/*from  ww  w  .j a v a 2 s . c  om*/
}

Related

  1. elapsedNanos(long nanoseconds)
  2. elapsedNanos(long startNanoTime)
  3. elapsedTime(long endTime, long beginTime)
  4. elapsedTime(long milli)
  5. elapsedTime(long ms)
  6. elapsedTime(long timeInMs)
  7. elapsedTimeMs(long start)
  8. elapsedTimeStamp(long time)
  9. elapsedTimeStampSection(long n, String label, StringBuffer sb)