public void createImmunization(Immunization.ImmunizationType type, int petID) throws SQLException{
		Statement state = DBConnection.OpenConnection();
		String commandstring;
		if(type == Immunization.ImmunizationType.Rabies){
			Calendar newCalendar = Calendar.getInstance();
			newCalendar.add(Calendar.YEAR, 3);
			Date StartDate = new Date();
			Date EndDate = newCalendar.getTime();
			java.sql.Date StartDateSQL = new java.sql.Date(StartDate.getTime());
			java.sql.Date EndDateSQL = new java.sql.Date(EndDate.getTime());
			commandstring = String.format("INSERT INTO Immunizations VALUES(%d, '%s', '%s', '%s')", petID, "Rabies", StartDateSQL, EndDateSQL);
		}
		else if(type == Immunization.ImmunizationType.Distemper){
			Calendar newCalendar = Calendar.getInstance();
			newCalendar.add(Calendar.YEAR, 3);
			Date StartDate = new Date();
			Date EndDate = newCalendar.getTime();
			java.sql.Date StartDateSQL = new java.sql.Date(StartDate.getTime());
			java.sql.Date EndDateSQL = new java.sql.Date(EndDate.getTime());
			commandstring = String.format("INSERT INTO Immunizations VALUES(%d, '%s', '%s', '%s')", petID, "Distemper", StartDateSQL, EndDateSQL);
		}
		else{
			Calendar newCalendar = Calendar.getInstance();
			newCalendar.add(Calendar.YEAR, 1);
			Date StartDate = new Date();
			Date EndDate = newCalendar.getTime();
			java.sql.Date StartDateSQL = new java.sql.Date(StartDate.getTime());
			java.sql.Date EndDateSQL = new java.sql.Date(EndDate.getTime());
			commandstring = String.format("INSERT INTO Immunizations VALUES(%d, '%s', '%s', '%s')", petID, "Bordatella", StartDateSQL, EndDateSQL);
		}
		state.execute(commandstring);
		state.close();
	}