public void importDates(){
		this.pictureDays = new HashMap<Integer, List<PictureObject>>();
		this.dayswithPicture = new ArrayList<Integer>();
		this.pics = new ArrayList<PictureObject>();

		for(int i = 1; i <= this.maxDays;i++){
			String beforeMonth;
			if(this.month < 10){
				beforeMonth = "-0";
			}else{
				beforeMonth = "-";
			}
			String beforeDay;
			if(i < 10){
				beforeDay = "-0";
			}else{
				beforeDay = "-";
			}
			
			this.pics = (List<PictureObject>) this.db.findByDate(this.year + beforeMonth + this.month + beforeDay + i);
			if(!(this.pics.isEmpty())){
				this.pictureDays.put(i, this.pics); 
				this.dayswithPicture.add(i);
			}
		}
	}