Here you can find the source of unixToJavaTime(long utime)
public static final long unixToJavaTime(long utime)
//package com.java2s; import java.util.concurrent.TimeUnit; public class Main { public static final long unixToJavaTime(long utime) { return TimeUnit.MILLISECONDS.convert(utime, TimeUnit.SECONDS); }// w w w .j a v a2s. co m }