s = "14:59:00";
DateFormat tmpd = new SimpleDateFormat("hh:mm:ss:");
Date d = tmpd.parse(s);
java.sql.Time t = new java.sql.Time(d.getTime());
mi da errore in Date d = tmpd.parse(s); mi dice questo:
Exception in thread "main" java.text.ParseException: Unparseable date: "14:59:00"
cosa sbaglio??