Here you can find the source of formatElapsedTime(long elapsedTime)
public static String formatElapsedTime(long elapsedTime)
//package com.java2s; // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt public class Main { public static String formatElapsedTime(long elapsedTime) { return String .format("%d:%02d:%02d", elapsedTime / 3600, (elapsedTime % 3600) / 60, (elapsedTime % 60)); //$NON-NLS-1$ }/*from w w w.j av a 2 s. c o m*/ }