/** Is the date of the specified instance equal to the date of this instance? */ public boolean dateEquals(Abstime that) { return (that.getYear() == getYear()) && (that.getMonth() == getMonth()) && (that.getDay() == getDay()); }