Here you can find the source of convertSqlDateToJavaDate(java.sql.Date sqlDate)
public static Date convertSqlDateToJavaDate(java.sql.Date sqlDate) throws ParseException
//package com.java2s; //License from project: Apache License import java.text.ParseException; import java.util.Date; public class Main { public static Date convertSqlDateToJavaDate(java.sql.Date sqlDate) throws ParseException { Date javaDate = null;/*from w w w .j a v a2s . com*/ if (sqlDate != null) { javaDate = new Date(sqlDate.getTime()); } return javaDate; } }