Here you can find the source of getCurrentMillisecond()
public static Long getCurrentMillisecond()
//package com.java2s; //License from project: Apache License public class Main { public static Long getCurrentMillisecond() { // new Date().getTime() return System.currentTimeMillis(); }//from w w w . jav a 2s . co m }