Here you can find the source of convertSqlDate(java.util.Date date)
public static Date convertSqlDate(java.util.Date date)
//package com.java2s; //License from project: Apache License import java.sql.Date; public class Main { public static Date convertSqlDate(java.util.Date date) { Date result = null;/*from ww w. ja v a 2 s . co m*/ result = new Date(date.getTime()); return result; } }