Here you can find the source of toLongTime()
public static long toLongTime()
//package com.java2s; //License from project: Apache License public class Main { public static long toLongTime() { return System.currentTimeMillis(); }/*from w w w . j a v a2 s.c o m*/ }