Here you can find the source of toJavaDate(java.sql.Date sqlDate)
private static Date toJavaDate(java.sql.Date sqlDate)
//package com.java2s; //License from project: Open Source License import java.util.Date; public class Main { private static Date toJavaDate(java.sql.Date sqlDate) { return sqlDate == null ? null : new Date(sqlDate.getTime()); }//ww w .j a v a 2 s .co m }