private List<Object> getRows(List<Weather> forecastList){
        List<Object> resultList = new ArrayList<>();
        if (forecastList.size()==0) resultList.add(Arrays.asList("N/A","N/A","N/A","N/A","N/A","N/A"));
        else {
            for (int i = 0; i < forecastList.size(); i++){
                Weather forecastElement = forecastList.get(i);
                java.util.Date fdate = forecastElement.getDate();
                Calendar cal = Calendar.getInstance();
                cal.setTime(fdate);
                String partOfDay = "";
                switch (cal.get(Calendar.HOUR_OF_DAY)){
                    case 3: partOfDay = "(ночь)";
                        break;
                    case 9: partOfDay = "(утро)";
                        break;
                    case 15: partOfDay = "(день)";
                        break;
                    case 21: partOfDay = "(вечер)";
                        break;
                    default:
                }
                SimpleDateFormat dateFormat = new SimpleDateFormat("dd MMMM", myDateFormatSymbols );
                resultList.add(Arrays.asList(
                        dateFormat.format(fdate)+" "+partOfDay,forecastElement.getTemperature(),
                        forecastElement.getHumidity(),forecastElement.getPressure(),forecastElement.getWindSpeed(),forecastElement.getWindDirection()));
            }
        }
        return resultList;
    }