Class Weather.WeatherInfo

  • Enclosing class:
    Weather

    public static class Weather.WeatherInfo
    extends java.lang.Object
    • Constructor Detail

      • WeatherInfo

        public WeatherInfo()
      • WeatherInfo

        public WeatherInfo​(int forecast_type)
    • Method Detail

      • setTimestamp

        public void setTimestamp​(long timestamp)
      • setForecastType

        public void setForecastType​(int i)
      • setConditionCode

        public void setConditionCode​(java.lang.Integer condition_code)
      • setTemperature

        public void setTemperature​(java.lang.Double temperature)
      • setTemperature5cm

        public void setTemperature5cm​(java.lang.Double temperature5cm)
      • setLowTemperature

        public void setLowTemperature​(java.lang.Double temperature_low)
      • setHighTemperature

        public void setHighTemperature​(java.lang.Double temperature_high)
      • setWindSpeed

        public void setWindSpeed​(java.lang.Double wind_speed)
      • setWindDirection

        public void setWindDirection​(java.lang.Double wind_direction)
      • setFlurries

        public void setFlurries​(java.lang.Double flurries)
      • setPrecipitationTotal1h

        public void setPrecipitationTotal1h​(java.lang.Double precipitationTotal1h)
      • setPrecipitation

        public void setPrecipitation​(java.lang.Double precipitation)
      • setClouds

        public void setClouds​(java.lang.Integer clouds)
      • setClouds_N05

        public void setClouds_N05​(java.lang.Integer clouds)
      • setClouds_Nl

        public void setClouds_Nl​(java.lang.Integer clouds)
      • setClouds_Nm

        public void setClouds_Nm​(java.lang.Integer clouds)
      • setClouds_Nh

        public void setClouds_Nh​(java.lang.Integer clouds)
      • setClouds_Nlm

        public void setClouds_Nlm​(java.lang.Integer clouds)
      • setClouds_H_BsC

        public void setClouds_H_BsC​(java.lang.Double clouds)
      • setClouds_Neff

        public void setClouds_Neff​(java.lang.Integer clouds)
      • setProbThunderstorms

        public void setProbThunderstorms​(java.lang.Integer thunderstorms)
      • setProbPrecipitation

        public void setProbPrecipitation​(java.lang.Integer prob_precipitation)
      • setProbDrizzle

        public void setProbDrizzle​(java.lang.Integer prob_precipitation)
      • setProbSolidPrecipitation

        public void setProbSolidPrecipitation​(java.lang.Integer prob_solid_precipitation)
      • setProbFreezingRain

        public void setProbFreezingRain​(java.lang.Integer prob_freezing_rain)
      • setProbFog

        public void setProbFog​(java.lang.Integer prob_fog)
      • setProbVisibilityBelow1km

        public void setProbVisibilityBelow1km​(java.lang.Integer prob_visibility_below_1km)
      • setVisibility

        public void setVisibility​(java.lang.Integer visibility)
      • setPressure

        public void setPressure​(java.lang.Double pressure)
      • setUV

        public void setUV​(java.lang.Double uv)
      • setTd

        public void setTd​(java.lang.Double td)
      • setUvHazardIndex

        public void setUvHazardIndex​(java.lang.Integer uvHazardIndex)
      • hasPrecipitationDetails

        public boolean hasPrecipitationDetails()
      • setPrecipitationDetails

        public void setPrecipitationDetails​(java.lang.Integer[] ints)
      • setSunDuration

        public void setSunDuration​(java.lang.Integer i)
      • hasIsDayTime

        public boolean hasIsDayTime()
      • setIsDayTime

        public void setIsDayTime​(boolean b)
      • getIsDayTime

        public java.lang.Boolean getIsDayTime()
      • getTimestamp

        public long getTimestamp()
      • getForecastType

        public int getForecastType()
      • hasWindDirection

        public boolean hasWindDirection()
      • getWindForecastTint

        public static Bitmap getWindForecastTint​(Bitmap arrowBitmap,
                                                 java.util.ArrayList<Weather.WindData> windForecastList)
      • getArrowBitmap

        public Bitmap getArrowBitmap​(Context context,
                                     boolean fromWidget)
      • getBeaufortBitmap

        public Bitmap getBeaufortBitmap​(Context context,
                                        boolean fromWidget)
      • getWindDirectionString

        public java.lang.String getWindDirectionString​(Context context)
      • getWindSymbol

        public Bitmap getWindSymbol​(Context context,
                                    int windDisplayType,
                                    boolean fromWidget)
      • getWindUnitString

        public java.lang.String getWindUnitString​(Context context)
      • getWindSpeedString

        public java.lang.String getWindSpeedString​(Context context,
                                                   boolean unit)
      • getFlurriesString

        public java.lang.String getFlurriesString​(Context context,
                                                  boolean unit)
      • getWindDirection

        public double getWindDirection()
      • getWindDirectionInt

        public int getWindDirectionInt()
      • hasCondition

        public boolean hasCondition()
      • getCondition

        public int getCondition()
      • hasTemperature

        public boolean hasTemperature()
      • getTemperature

        public double getTemperature()
      • getTemperatureInt

        public int getTemperatureInt()
      • getTemperatureInCelsius

        public double getTemperatureInCelsius()
      • getTemperatureInCelsiusInt

        public int getTemperatureInCelsiusInt()
      • hasTemperature5cm

        public boolean hasTemperature5cm()
      • getTemperture5cmInt

        public int getTemperture5cmInt()
      • getTemperature5cmInCelsius

        public double getTemperature5cmInCelsius()
      • getTemperature5cmInCelsiusInt

        public int getTemperature5cmInCelsiusInt()
      • hasMaxTemperature

        public boolean hasMaxTemperature()
      • getMaxTemperatureInt

        public int getMaxTemperatureInt()
      • getMaxTemperatureInCelsius

        public double getMaxTemperatureInCelsius()
      • getMaxTemperatureInCelsiusInt

        public int getMaxTemperatureInCelsiusInt()
      • hasMinTemperature

        public boolean hasMinTemperature()
      • getMinTemperature

        public double getMinTemperature()
      • getMinTemperatureInt

        public int getMinTemperatureInt()
      • getMinTemperatureInCelsiusInt

        public int getMinTemperatureInCelsiusInt()
      • getMinMaxTemperatureInCelsiusIntString

        public java.lang.String getMinMaxTemperatureInCelsiusIntString​(boolean useSpaces)
      • hasPrecipitation

        public boolean hasPrecipitation()
      • getPrecipitationTotal1h

        public double getPrecipitationTotal1h​(java.lang.Double precipitationTotal1h)
      • getPrecipitation

        public double getPrecipitation()
      • getPrecipitationIntervalString

        public java.lang.String getPrecipitationIntervalString()
      • getPrecipitationString

        public java.lang.String getPrecipitationString()
      • getPrecipitationUnitLower

        public java.lang.String getPrecipitationUnitLower()
      • hasProbPrecipitation

        public boolean hasProbPrecipitation()
      • getProbPrecipitation

        public int getProbPrecipitation()
      • hasProbDrizzle

        public boolean hasProbDrizzle()
      • getProbDrizzle

        public int getProbDrizzle()
      • hasWindSpeed

        public boolean hasWindSpeed()
      • getWindSpeedInMsInt

        public int getWindSpeedInMsInt()
      • getWindSpeedInKmhInt

        public int getWindSpeedInKmhInt()
      • getWindSpeedInBeaufortInt

        public int getWindSpeedInBeaufortInt()
      • getWindSpeedInKnotsInt

        public int getWindSpeedInKnotsInt()
      • hasFlurries

        public boolean hasFlurries()
      • getFlurriesInMsInt

        public int getFlurriesInMsInt()
      • getFlurriesInKmhInt

        public int getFlurriesInKmhInt()
      • getFlurriesInBeaufortInt

        public int getFlurriesInBeaufortInt()
      • getFlurriesInKnotsInt

        public int getFlurriesInKnotsInt()
      • hasClouds

        public boolean hasClouds()
      • getClouds

        public int getClouds()
      • hasClouds_N05

        public boolean hasClouds_N05()
      • getClouds_N05

        public int getClouds_N05()
      • hasClouds_Nl

        public boolean hasClouds_Nl()
      • getClouds_Nl

        public int getClouds_Nl()
      • hasClouds_Nm

        public boolean hasClouds_Nm()
      • getClouds_Nm

        public int getClouds_Nm()
      • hasClouds_Nh

        public boolean hasClouds_Nh()
      • getClouds_Nh

        public int getClouds_Nh()
      • hasClouds_Nlm

        public boolean hasClouds_Nlm()
      • getClouds_Nlm

        public int getClouds_Nlm()
      • hasClouds_H_BsC

        public boolean hasClouds_H_BsC()
      • getClouds_H_BsC

        public double getClouds_H_BsC()
      • getClouds_Neff

        public int getClouds_Neff()
      • hasProbThunderstorms

        public boolean hasProbThunderstorms()
      • getProbThunderStorms

        public int getProbThunderStorms()
      • hasProbSolidPrecipitation

        public boolean hasProbSolidPrecipitation()
      • getProbSolidPrecipitation

        public int getProbSolidPrecipitation()
      • hasProbFreezingRain

        public boolean hasProbFreezingRain()
      • getProbFreezingRain

        public int getProbFreezingRain()
      • hasProbFog

        public boolean hasProbFog()
      • getProbFog

        public int getProbFog()
      • hasVisibility

        public boolean hasVisibility()
      • getVisibilityInMetres

        public int getVisibilityInMetres()
      • getVisibilityInNauticMiles

        public double getVisibilityInNauticMiles()
      • getVisibilityInMiles

        public double getVisibilityInMiles()
      • getVisibilityInYards

        public double getVisibilityInYards()
      • hasProbVisibilityBelow1km

        public boolean hasProbVisibilityBelow1km()
      • getProbVisibilityBelow1km

        public int getProbVisibilityBelow1km()
      • hasPressure

        public boolean hasPressure()
      • getPressure

        public int getPressure()
      • hasUV

        public boolean hasUV()
      • getUV

        public int getUV()
      • hasTd

        public boolean hasTd()
      • getTd

        public double getTd()
      • getTdInCelsius

        public double getTdInCelsius()
      • getTdInCelsiusInt

        public int getTdInCelsiusInt()
      • hasRH

        public boolean hasRH()
      • getRH

        public double getRH()
      • getDewPointInCelsius

        public double getDewPointInCelsius()
      • getDewPointInCelsiusInt

        public int getDewPointInCelsiusInt()
      • getDewPointInCelsiusRoundedString

        public java.lang.String getDewPointInCelsiusRoundedString()
      • getRHInt

        public int getRHInt()
      • calculateMissingCondition

        public boolean calculateMissingCondition()
      • isConditionCalculated

        public boolean isConditionCalculated()
      • getPrecipitationDetails

        public java.lang.Integer[] getPrecipitationDetails()
      • hasSunDuration

        public boolean hasSunDuration()
      • getSunDurationInSeconds

        public int getSunDurationInSeconds()
      • getSunDurationInMinutes

        public int getSunDurationInMinutes()
      • getSunDurationInHours

        public int getSunDurationInHours()
      • getRelativeDay

        public int getRelativeDay()
      • hasUvHazardIndex

        public boolean hasUvHazardIndex()
      • getUvHazardIndex

        public int getUvHazardIndex()