Here you can find the source of convertTime(long difference)
public static long convertTime(long difference)
//package com.java2s; /* //from w w w.j av a 2s .com * Licensed Materials - Property of IBM ? Copyright IBM Corporation 2015. All * Rights Reserved. This sample program is provided AS IS and may be used, * executed, copied and modified without royalty payment by customer (a) for its * own instruction and study, (b) in order to develop applications designed to * run with an IBM product, either for customer's own internal use or for * redistribution by customer, as part of such an application, in customer's own * products. */ public class Main { public static long convertTime(long difference) { return (System.currentTimeMillis() + difference); } }