Here you can find the source of parse(java.sql.Timestamp timestamp)
public static Date parse(java.sql.Timestamp timestamp)
//package com.java2s; //License from project: Apache License import java.util.Date; public class Main { public static Date parse(java.sql.Timestamp timestamp) { if (timestamp == null) return null; return new Date(timestamp.getTime() * 1000); }//from w w w . j a v a 2 s. c om }