Here you can find the source of getTimeStampFromString(String timeStamp)
public static Timestamp getTimeStampFromString(String timeStamp)
//package com.java2s; //License from project: Open Source License import java.sql.Timestamp; public class Main { public static Timestamp getTimeStampFromString(String timeStamp) { return Timestamp.valueOf(timeStamp); }//from ww w. java 2 s .co m }