Here you can find the source of printTimeDiff(Long oldDate, Long newDate, String message)
public static Long printTimeDiff(Long oldDate, Long newDate, String message)
//package com.java2s; //License from project: Open Source License public class Main { public static Long printTimeDiff(Long oldDate, Long newDate, String message) {//from w w w .ja va 2 s . c o m System.out.println(message + ": " + (newDate - oldDate)); return newDate; } }