Code example for Date

Methods: toString

0
	public boolean isBefore(Timestamp ts) {
		return date.before(ts.getDate());
	} 
	 
	public String toString() {
		return  date.toString();
	} 
 
} 
Stop searching for code, let great code find you!  Add Codota to your java IDE