/**
 * A Driver for testing the Clock and AlarmClock classes
 */
public class Tester7
{
    /**
     * The enty point of the application
     *
     * @param args  The command line arguments
     */
    public static void main(String[] args)
    {
	AlarmClock        home;
        Clock             paris;

	home  = (AlarmClock)createClock("Harrisonburg");
	paris = createClock("Paris");

        home.setAlarm(1, 39, 45, "PM");
        home.turnAlarmOn();
    }



    /**
     * Create and setup a Clock
     *
     * @param clock   The clock to setup
     */
    private static Clock createClock(String city)
    {
	AlarmClock      temp;

	temp = new AlarmClock(city);
	temp.reverseColors();

	return temp;
    }

}
