Code example for Date

Methods: toString

0
	public boolean isBefore(Timestamp ts) {
		return date.before(ts.getDate());
	} 
	 
	public String toString() {
		return  date.toString();
	} 
 
} 
Connect your IDE to all the code out there  Get Codota for Java