/**
 * Class that models a quiz grade.
 *   @author Dave Reed
 *   @version 3/24/17
 */
public class Quiz{
    private String quizDate;
    private int pointsEarned;
    private int possiblePoints;

    /**
     * Constructs a quiz object.
     *   @param date the date the quiz was taken (e.g., "2017/03/10")
     *   @param points the number of points earned by the student
     *   @param the number of possible points on the quiz
     */
    public Quiz(String date, int points, int possible) {
        this.quizDate = date;
        this.pointsEarned = points;
        this.possiblePoints = possible;
    }
    
    /**
     * Accessor method for getting the quiz date.
     *   @return the date the quiz was taken
     */
    public String getDate() {
        return this.quizDate;
    }
    
    /**
     * Accessor method for getting the number of points earned.
     *   @return the number of points earned by the student
     */
    public int getPointsEarned() {
        return this.pointsEarned;
    }
    
    /**
     * Accessor method for getting possible number of points.
     *   @return the number of possible points on the quiz
     */
    public int getPossiblePoints() {
        return this.possiblePoints;
    }
}
