@Test void toTime() { assertThat(TypeConverter.toTime("10:11:12")) .hasHourOfDay(10) .hasMinute(11) .hasSecond(12); }
public static Time toTime(String s) { try { return new Time(StdDateFormat.getTimeInstance().parse(s).getTime()); } catch (ParseException e) { throw new IllegalArgumentException(s); } }
TypeConverter { public static Time toTime(String s) { try { return new Time(StdDateFormat.getTimeInstance().parse(s).getTime()); } catch (ParseException e) { throw new IllegalArgumentException(s); } } }
TypeConverter { public static Time toTime(String s) { try { return new Time(StdDateFormat.getTimeInstance().parse(s).getTime()); } catch (ParseException e) { throw new IllegalArgumentException(s); } }  }
TypeConverter { public static Time toTime(String s) { try { return new Time(StdDateFormat.getTimeInstance().parse(s).getTime()); } catch (ParseException e) { throw new IllegalArgumentException(s); } }  static int toInt(String s); static boolean toBoolean(String s); static byte toByte(String s); static short toShort(String s); static long toLong(String s); static float toFloat(String s); static Double toDouble(String s); static BigDecimal toBigDecimal(String s); static byte[] toBytes(String s); static Date toDate(String s); static Time toTime(String s); static Timestamp toTimestamp(String s); static InputStream toAsciiStream(String s); static InputStream toUnicodeStream(String s); }
TypeConverter { public static Time toTime(String s) { try { return new Time(StdDateFormat.getTimeInstance().parse(s).getTime()); } catch (ParseException e) { throw new IllegalArgumentException(s); } }  static int toInt(String s); static boolean toBoolean(String s); static byte toByte(String s); static short toShort(String s); static long toLong(String s); static float toFloat(String s); static Double toDouble(String s); static BigDecimal toBigDecimal(String s); static byte[] toBytes(String s); static Date toDate(String s); static Time toTime(String s); static Timestamp toTimestamp(String s); static InputStream toAsciiStream(String s); static InputStream toUnicodeStream(String s);  }