package edu.pdx.cs410J.chances;

import edu.pdx.cs410J.AbstractAppointment;

import java.util.Date;

public class Appointment extends AbstractAppointment {
  private String beginTime;
  private String endTime;
  private String description;

  public Appointment() {}

  public Appointment(String description) {
    this.description = description;
  }

  /**
   * Set the time this appointment begins.
   */
  public void setBeginTime(Date beginTime) {
    this.beginTime = beginTime.toString();
  }

  /**
   * Set the time this appointment ends.
   */
  public void setEndTime(Date endTime) {
    this.endTime = endTime.toString();
  }

  @Override
  public String getBeginTimeString() {
    return beginTime;
  }

  @Override
  public String getEndTimeString() {
    return endTime;
  }

  @Override
  public String getDescription() {
    return description;
  }

  public void setBeginAndEndTimesFromCommandLineArgs(String dateTimes) {

  }
}

@@ -637,157 +637,505 @@
 %0A%0A  
-@Override%0A  public String getBeginTimeString() %7B%0A    return beginTime;%0A  %7D%0A%0A  @Override%0A  public String getEndTimeString() %7B%0A    return endTime;%0A  %7D%0A
+/**%0A   * Get the time this appointment begins.%0A   *%0A   * @return String representation of appointment begin time%0A     */%0A  @Override%0A  public String getBeginTimeString() %7B%0A    return beginTime;%0A  %7D%0A%0A  /**%0A   * Get the time this appointment ends.%0A   *%0A   * @return String representation of appointment end time%0A   */%0A  @Override%0A  public String getEndTimeString() %7B%0A    return endTime;%0A  %7D%0A%0A  /**%0A   * Get the description of this appointment.%0A   *%0A   * @return Description of this appointment%0A   */
 %0A  @

Add JavaDoc comments