Class CurrentWeatherInfo


  • public class CurrentWeatherInfo
    extends java.lang.Object
    • Field Detail

      • MOSMIX_PUBLICATION_DELAY

        public static final int MOSMIX_PUBLICATION_DELAY
        See Also:
        Constant Field Values
      • dateAndHourDateFormat

        public final java.text.SimpleDateFormat dateAndHourDateFormat
    • Constructor Detail

      • CurrentWeatherInfo

        public CurrentWeatherInfo()
      • CurrentWeatherInfo

        public CurrentWeatherInfo​(Context context,
                                  RawWeatherInfo rawWeatherInfo)
    • Method Detail

      • setToEmpty

        public void setToEmpty()
      • getCity

        public java.lang.String getCity()
      • getWindForecast

        public java.util.ArrayList<Weather.WindData> getWindForecast​(int number)
      • setSunDurationFromClouds

        public java.lang.Integer setSunDurationFromClouds​(Weather.WeatherInfo weatherInfo)
      • isNewServerDataExpected

        public boolean isNewServerDataExpected()
        Checks if new Mosmix data can be expected on the DWD server.
        Returns:
        true, if new data can be expected.
      • getWhenNewServerDataExpected

        public long getWhenNewServerDataExpected()
      • getHumanReadableIssueTime

        public java.lang.String getHumanReadableIssueTime()
      • getHumanReadablePollingTime

        public java.lang.String getHumanReadablePollingTime()