Dodana metoda Equals za TimePeriod + GetHashcode