### Question:
DefaultDateAndTime extends DefaultTemporalPosition implements DateAndTime { @Override public int hashCode() { int hash = 5; hash = 37 * hash + (this.calendarDate != null ? this.calendarDate.hashCode() : 0); hash = 37 * hash + (this.calendarEraName != null ? this.calendarEraName.hashCode() : 0); hash = 37 * hash + (this.clockTime != null ? this.clockTime.hashCode() : 0); return hash; } DefaultDateAndTime(final TemporalReferenceSystem frame, final IndeterminateValue indeterminatePosition, final InternationalString calendarEraName, final int[] calendarDate, final Number[] clockTime); @Override Number[] getClockTime(); @Override InternationalString getCalendarEraName(); @Override int[] getCalendarDate(); void setCalendarEraName(final InternationalString calendarEraName); void setCalendarDate(final int[] calendarDate); void setClockTime(final Number[] clockTime); @Override boolean equals(final Object object); @Override int hashCode(); @Override String toString();  }### Answer:
@Test public void testHashCode() { int result = dateAndTime1.hashCode(); assertFalse(dateAndTime2.hashCode() == result); }