Here you can find the source of convertInt2Date(int date)
public static Date convertInt2Date(int date)
//package com.java2s; //License from project: Apache License import java.util.Calendar; import java.util.Date; public class Main { public static Date convertInt2Date(int date) { Long x = Long.valueOf(date) * 1000; Calendar c = Calendar.getInstance(); c.setTimeInMillis(x);/* w w w .j a va 2 s. c om*/ return c.getTime(); } }