Here you can find the source of toTime(String value)
public static Time toTime(String value)
//package com.java2s; //License from project: Open Source License import java.sql.Time; public class Main { public static Time toTime(String value) { if (value != null) { return Time.valueOf(value); }/*from w w w. ja va 2 s . c om*/ return null; } }