code: public boolean isSameDay(Day compared)
    {
  	  if(compared == null)
  		  return false;
  	 
    	return this.getMonth() == compared.getMonth()
    	&& this.getDayOfMonth() == compared.getDayOfMonth()
    	&& this.getYear() == compared.getYear();
    }
docs: Compare based on month day year
  @param compared the day to compare
  @return if compared is the same day