Overrides toString method
Overrides equals and toString methods
dateIsBeforeNow private method