Here you can find the source of getTimestampDiff(Long old)
public static Long getTimestampDiff(Long old)
//package com.java2s; //License from project: Open Source License import java.util.*; public class Main { public static Long getTimestampDiff(Long old) { return new Date().getTime() - old; }/*from w ww . j av a2 s .c om*/ }