Here you can find the source of toUtilDateFromSqlDate(java.sql.Date p_sqlDate)
public static java.util.Date toUtilDateFromSqlDate(java.sql.Date p_sqlDate)
//package com.java2s; //License from project: Apache License public class Main { public static java.util.Date toUtilDateFromSqlDate(java.sql.Date p_sqlDate) { java.util.Date returnDate = null; if (p_sqlDate != null) { returnDate = new java.util.Date(p_sqlDate.getTime()); }/*w w w . ja v a 2 s .com*/ return returnDate; } }