Checks if this DateTime is in the same second, minute, hour, day, month, and year as other.
other
bool isAtSameSecondAs(DateTime other) => isAtSameMinuteAs(other) && second == other.second;