Code example for Date

Methods: toString

0
	public boolean isBefore(Timestamp ts) {
		return date.before(ts.getDate());
	} 
	 
	public String toString() {
		return  date.toString();
	} 
 
}