### Question:
Minute extends RegularTimePeriod implements Serializable { @Override public long getSerialIndex() { long hourIndex = this.day.getSerialIndex() * 24L + this.hour; return hourIndex * 60L + this.minute; } 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 testGetSerialIndex() { Minute m = new Minute(1, 1, 1, 1, 2000); assertEquals(52597501L, m.getSerialIndex()); m = new Minute(1, 1, 1, 1, 1900); assertEquals(2941L, m.getSerialIndex()); }