package Info; /** * Time object has an hour, minute, and a AM/PM indicator. */ public abstract class Time{ /** * The hour of the time. */ public int hour; /** * The minutes of the time. */ public int minute; /** * Whether the time is AM or PM. */ public AMorPM amORpm; } /** * AM or PM */ enum AMorPM{ AM, PM }