Here you can find the source of printTimeTakenMs(String msg, long start, long finish)
public static String printTimeTakenMs(String msg, long start, long finish)
//package com.java2s; //License from project: Open Source License public class Main { public static String printTimeTakenMs(String msg, long start, long finish) { StringBuilder bldr = new StringBuilder(); bldr.append(msg).append(" Time taken: ").append((finish - start)).append(" milliseconds."); return bldr.toString(); }//from w w w . jav a 2 s. c o m }