equals() override method for TimeData

I've added the equals method for TimeData, but I couldn't find the other
equals to override.