### Question:
Minute extends RegularTimePeriod implements Serializable { @Override public int hashCode() { int result = 17; result = 37 * result + this.minute; result = 37 * result + this.hour; result = 37 * result + this.day.hashCode(); return result; } Minute();  Minute(int minute, Hour hour);  Minute(Date time);  Minute(Date time, TimeZone zone, Locale locale);  Minute(int minute, int hour, int day, int month, int year); Day getDay(); Hour getHour(); int getHourValue(); int getMinute(); @Override long getFirstMillisecond(); @Override long getLastMillisecond(); @Override void peg(Calendar calendar); @Override RegularTimePeriod previous(); @Override RegularTimePeriod next(); @Override long getSerialIndex(); @Override long getFirstMillisecond(Calendar calendar); @Override long getLastMillisecond(Calendar calendar); @Override boolean equals(Object obj); @Override int hashCode(); @Override int compareTo(TimePeriod o1); static Minute parseMinute(String s); static final int FIRST_MINUTE_IN_HOUR; static final int LAST_MINUTE_IN_HOUR; }### Answer:
@Test public void testHashcode() { Minute m1 = new Minute(45, 5, 1, 2, 2003); Minute m2 = new Minute(45, 5, 1, 2, 2003); assertEquals(m1, m2); int h1 = m1.hashCode(); int h2 = m2.hashCode(); assertEquals(h1, h2); }