import java.util.Date;
public class PreparedClockedEvent extends ClockedEvent {
  
  /**
   * What needs to be done for this event?
   */
  private ToDoEvent toBeDone;
  
  /**
   * create a PreparedClocked event with Date d,
   * location l, description des, description of
   * what needs to be done tbdDes, what needs to
   * be done should be finished by deadline
   */
  public PreparedClockedEvent(Date d, String l, String des,
                              String tbdDes, Date deadline) {
    super(d, l, des);
    toBeDone= new ToDoEvent(deadline, tbdDes);
  }
  
  /**
   * describe this prepared clocked event
   */
  public String toString() {
    return super.toString() + "\n" +
      toBeDone.toString();
  }
  
}
