// Path: app/src/main/java/mk/petrovski/weathergurumvp/utils/DateUtils.java
// public class DateUtils {
// 
//   /**
//    * Check if some date is the current day
//    */
//   private static boolean isToday(String date) {
//     return DateTimeComparator.getDateOnlyInstance().compare(new DateTime(), new DateTime(date))
//         == 0;
//   }
// 
//   /**
//    * Get name day for some date. If is current day return 'Today'
//    */
//   //TODO should be in the string.xml
//   public static String getDayName(String date) {
//     if (isToday(date)) {
//       return "Today";
//     } else {
//       return new DateTime(date).toString(DateTimeFormat.forPattern("EEEE"));
//     }
//   }
// 
//   /**
//    * Get short month name
//    */
//   public static String getMonthName(String date) {
//     return new DateTime(date).toString(DateTimeFormat.forPattern("dd MMM"));
//   }
// }


import java.util.List;
import mk.petrovski.weathergurumvp.utils.DateUtils;
package mk.petrovski.weathergurumvp.data.remote.model.weather_models;


/**
 * Created by Nikola Petrovski on 2/13/2017.
 */

public class WeatherModel {
  private List<AstronomyModel> astronomy;
  private String date;
  private List<HourlyModel> hourly;
  private String maxtempC;
  private String maxtempF;
  private String mintempC;
  private String mintempF;
  private String uvIndex;

  public String getShortMonthDate() {
// Path: app/src/main/java/mk/petrovski/weathergurumvp/utils/DateUtils.java
// public class DateUtils {
// 
//   /**
//    * Check if some date is the current day
//    */
//   private static boolean isToday(String date) {
//     return DateTimeComparator.getDateOnlyInstance().compare(new DateTime(), new DateTime(date))
//         == 0;
//   }
// 
//   /**
//    * Get name day for some date. If is current day return 'Today'
//    */
//   //TODO should be in the string.xml
//   public static String getDayName(String date) {
//     if (isToday(date)) {
//       return "Today";
//     } else {
//       return new DateTime(date).toString(DateTimeFormat.forPattern("EEEE"));
//     }
//   }
// 
//   /**
//    * Get short month name
//    */
//   public static String getMonthName(String date) {
//     return new DateTime(date).toString(DateTimeFormat.forPattern("dd MMM"));
//   }
// }


// Path: app/src/main/java/mk/petrovski/weathergurumvp/data/remote/model/weather_models/WeatherModel.java
import java.util.List;
import mk.petrovski.weathergurumvp.utils.DateUtils;

package mk.petrovski.weathergurumvp.data.remote.model.weather_models;


/**
 * Created by Nikola Petrovski on 2/13/2017.
 */

public class WeatherModel {
  private List<AstronomyModel> astronomy;
  private String date;
  private List<HourlyModel> hourly;
  private String maxtempC;
  private String maxtempF;
  private String mintempC;
  private String mintempF;
  private String uvIndex;

  public String getShortMonthDate() {
    return DateUtils.getMonthName(date);