/**
 *   Author: Gurkirat Singh
 *	 Date: Nov 27,2018
 *   Course: CST8130
 *   
 *   Purpose: This class extends the Events class.
 *   		 This class holds the information regarding the all other events..
 *    Data Fields:  initial constructor (OurDate, OurTime)- set the value of the Object to the objects in parameter
 *    				initial constructor (int,int,int,int,int,int,String,String)- he constructor set the day, month, year, hour, minute, description to the parameter values.
 *       			toString: String - return the all information of event created
 *    				getDate: OurDate -  method which return the date.
 * 					getTime: OurTime -  method which returns the time.
 */					

public class MoreEvents extends Events {

	public MoreEvents(int day, int month, int year, int hour, int min, String description) {

		super(day, month, year, hour, min);
		super.description=description;


	}

	public MoreEvents(OurDate date, OurTime time) {
		super();
		
		super.date = date;
		super.time = time;
	}

	public String toString() {
		return date.toString() + " " + time.toString() + " " + super.description;

	}

	public OurDate getDate() {
		return date;
	}

	public OurTime getTime() {
		return time;
	}
}
