Checks if time stamp of date is same as this. This method only checks hours and minutes.
date
bool hasSameTimeAs(DateTime date) => getTotalMinutes == date.getTotalMinutes;