Here you can find the source of convertDateFromSQLDate(java.sql.Date sqlDate)
public static Date convertDateFromSQLDate(java.sql.Date sqlDate)
//package com.java2s; //License from project: Apache License import java.util.Date; public class Main { public static Date convertDateFromSQLDate(java.sql.Date sqlDate) { if (null == sqlDate) { return null; }//from ww w .j ava2 s . c o m return new Date(sqlDate.getTime()); } }