public Shift getShift(int row, int col){
			
			int startHour = 0;
			int startMinute = 0;
			int finishHour = 23;
			int finishMinute = 59;
			
			if(row%2 == 0)
			{
				startHour = timeToCode(tableData[row][col])/100;
				startMinute = timeToCode(tableData[row][col])%100;
				
				if(tableData[row+1][col] != null)
				{
					finishHour = timeToCode(tableData[row+1][col])/100;
					finishMinute = timeToCode(tableData[row+1][col])%100;
				}
				
			}
			else
			{	
				startHour = timeToCode(tableData[row-1][col])/100;
				startMinute = timeToCode(tableData[row-1][col])%100;
				finishHour = timeToCode(tableData[row][col])/100;
				finishMinute = timeToCode(tableData[row][col])%100;
			}
			
			Vector<Shift> found = currentEmployee.getShiftsBetween(new GregorianCalendar(firstDay.get(Calendar.YEAR),
																   firstDay.get(Calendar.MONTH),
																   firstDay.get(Calendar.DAY_OF_MONTH)+col,
																   startHour, startMinute),
										     new GregorianCalendar(firstDay.get(Calendar.YEAR),
																   firstDay.get(Calendar.MONTH),
																   firstDay.get(Calendar.DAY_OF_MONTH)+col,
																   finishHour, finishMinute));
			if(found.size() > 0)
				return found.get(0);
			return null;
		}