List of utility methods to do SQL Date Parse
java.sql.Date | strToSqlDate(String format, String value) str To Sql Date Date utilDate = strToJavaDate(format, value);
return convertJavaDateToSqlDate(utilDate);
|
java.util.Date | strToUtilDate(String fecha, String hora) str To Util Date String f = strToDateFormToDB(fecha) + " " + hora + ":00"; java.sql.Timestamp dh = java.sql.Timestamp.valueOf(f); return (java.util.Date) dh; |