Here you can find the source of timestampToSearchString(final Timestamp timestamp)
public static String timestampToSearchString(final Timestamp timestamp)
//package com.java2s; // ProjectForge is dual-licensed. import java.sql.Timestamp; public class Main { public static String timestampToSearchString(final Timestamp timestamp) { if (timestamp == null) { return ""; }//w w w. j a va2 s. c o m return timestamp.toString(); } }