Implementing GetHashCode for TimeUnitItem