private static boolean deleteSchedule(Schedule bean, PreparedStatement stmt) throws SQLException{
		
		stmt.setDate(1, bean.getWorkDay());
		stmt.setString(2, bean.getUsername());
		int affected=stmt.executeUpdate();	
		
		if(affected==1){
			System.out.println("Employee with username "+bean.getUsername()+" is not working on "+bean.getWorkDay());
		} else {
			System.out.println("unable to delete schedule from database");
			return false;
		}	
		return true;
	}