public static String toString(Timestamp timestamp){
  if (timestamp == null)   return null;
 else   return timestamp.toString();
}

public static String toString ( Timestamp timestamp ) { if ( timestamp == null ) return null ; else return timestamp . toString ( ) ; }
return string value representing timestamp . null returns null .
