package com.fisheradelakin.vortex;

/**
 * Created by Fisher on 1/15/15.
 */
public class CurrentWeather {
    private String mIcon;
    private long mTime;
    private double mTemperature;
    private double mHumidity;
    private double mPrecipChance;
    private String mSummary;

    public String getIcon() {
        return mIcon;
    }

    public void setIcon(String icon) {
        mIcon = icon;
    }

    public long getTime() {
        return mTime;
    }

    public void setTime(long time) {
        mTime = time;
    }

    public double getTemperature() {
        return mTemperature;
    }

    public void setTemperature(double temperature) {
        mTemperature = temperature;
    }

    public double getHumidity() {
        return mHumidity;
    }

    public void setHumidity(double humidity) {
        mHumidity = humidity;
    }

    public double getPrecipChance() {
        return mPrecipChance;
    }

    public void setPrecipChance(double precipChance) {
        mPrecipChance = precipChance;
    }

    public String getSummary() {
        return mSummary;
    }

    public void setSummary(String summary) {
        mSummary = summary;
    }
}

@@ -29,16 +29,102 @@
 ortex;%0A%0A
+import java.text.SimpleDateFormat;%0Aimport java.util.Date;%0Aimport java.util.TimeZone;%0A%0A
 /**%0A * C
@@ -388,162 +388,663 @@
  get
-Icon() %7B%0A        return mIcon;%0A    %7D%0A%0A    public void setIcon(String icon) %7B%0A        mIcon = icon;%0A    %7D%0A%0A    public long getTime() %7B%0A        return mTime
+TimeZone() %7B%0A        return mTimeZone;%0A    %7D%0A%0A    public void setTimeZone(String timeZone) %7B%0A        mTimeZone = timeZone;%0A    %7D%0A%0A    private String mTimeZone;%0A%0A    public String getIcon() %7B%0A        return mIcon;%0A    %7D%0A%0A    public void setIcon(String icon) %7B%0A        mIcon = icon;%0A    %7D%0A%0A    public long getTime() %7B%0A        return mTime;%0A    %7D%0A%0A    public String getFormattedTime() %7B%0A        SimpleDateFormat formatter = new SimpleDateFormat(%22h:mm a%22);%0A        formatter.setTimeZone(TimeZone.getTimeZone(getTimeZone()));%0A        Date dateTime = new Date(getTime() * 1000);%0A        String timeString = formatter.format(dateTime);%0A%0A        return timeString
 ;%0A  

format date and time