Returns true if the date is in the same hour as other, false otherwise.
true
other
false
bool isSameHour(DateTime other) => year == other.year && month == other.month && day == other.day && hour == other.hour;