public static final java.sql.Date getSQLDateFromUtilDate(java.util.Date date) {
java.sql.Date sqlDate = null;
if (date == null) {
return null;
} else {
sqlDate = new java.sql.Date(date.getTime());
}
return sqlDate;
}
if (date == null) {
return null;
} else {
sqlDate = new java.sql.Date(date.getTime());
}
return sqlDate;
}
No comments:
Post a Comment