Class Daily

java.lang.Object
com.github.prominence.openweathermap.api.model.onecall.current.Daily

public class Daily extends Object
The type Daily.
  • Constructor Details

    • Daily

      public Daily()
  • Method Details

    • getForecastTime

      public LocalDateTime getForecastTime()
      Gets forecast time.
      Returns:
      the forecast time
    • setForecastTime

      public void setForecastTime(LocalDateTime forecastTime)
      Sets forecast time.
      Parameters:
      forecastTime - the forecast time
    • getSunriseTime

      public LocalDateTime getSunriseTime()
      Gets sunrise time.
      Returns:
      the sunrise time
    • setSunriseTime

      public void setSunriseTime(LocalDateTime sunriseTime)
      Sets sunrise time.
      Parameters:
      sunriseTime - the sunrise time
    • getSunsetTime

      public LocalDateTime getSunsetTime()
      Gets sunset time.
      Returns:
      the sunset time
    • setSunsetTime

      public void setSunsetTime(LocalDateTime sunsetTime)
      Sets sunset time.
      Parameters:
      sunsetTime - the sunset time
    • getMoonriseTime

      public LocalDateTime getMoonriseTime()
      Gets moonrise time.
      Returns:
      the moonrise time
    • setMoonriseTime

      public void setMoonriseTime(LocalDateTime moonriseTime)
      Sets moonrise time.
      Parameters:
      moonriseTime - the moonrise time
    • getMoonsetTime

      public LocalDateTime getMoonsetTime()
      Gets moonset time.
      Returns:
      the moonset time
    • setMoonsetTime

      public void setMoonsetTime(LocalDateTime moonsetTime)
      Sets moonset time.
      Parameters:
      moonsetTime - the moonset time
    • getMoonPhase

      public MoonPhase getMoonPhase()
      Gets moon phase.
      Returns:
      the moon phase
    • setMoonPhase

      public void setMoonPhase(MoonPhase moonPhase)
      Sets moon phase.
      Parameters:
      moonPhase - the moon phase
    • getSummary

      public String getSummary()
      Gets summary.
      Returns:
      the summary
    • setSummary

      public void setSummary(String summary)
      Sets summary.
      Parameters:
      summary - the summary
    • getWeatherState

      public WeatherState getWeatherState()
      Gets weather state.
      Returns:
      the weather state
    • setWeatherState

      public void setWeatherState(WeatherState weatherState)
      Sets weather state.
      Parameters:
      weatherState - the weather state
    • getTemperature

      public DailyTemperature getTemperature()
      Gets temperature.
      Returns:
      the temperature
    • setTemperature

      public void setTemperature(DailyTemperature temperature)
      Sets temperature.
      Parameters:
      temperature - the temperature
    • getAtmosphericPressure

      public AtmosphericPressure getAtmosphericPressure()
      Gets atmospheric pressure.
      Returns:
      the atmospheric pressure
    • setAtmosphericPressure

      public void setAtmosphericPressure(AtmosphericPressure atmosphericPressure)
      Sets atmospheric pressure.
      Parameters:
      atmosphericPressure - the atmospheric pressure
    • getHumidity

      public Humidity getHumidity()
      Gets humidity.
      Returns:
      the humidity
    • setHumidity

      public void setHumidity(Humidity humidity)
      Sets humidity.
      Parameters:
      humidity - the humidity
    • getWind

      public Wind getWind()
      Gets wind.
      Returns:
      the wind
    • setWind

      public void setWind(Wind wind)
      Sets wind.
      Parameters:
      wind - the wind
    • getClouds

      public Clouds getClouds()
      Gets clouds.
      Returns:
      the clouds
    • setClouds

      public void setClouds(Clouds clouds)
      Sets clouds.
      Parameters:
      clouds - the clouds
    • getUvIndex

      public Double getUvIndex()
      Gets uv index.
      Returns:
      the uv index
    • setUvIndex

      public void setUvIndex(Double uvIndex)
      Sets uv index.
      Parameters:
      uvIndex - the uv index
    • getProbabilityOfPrecipitation

      public Double getProbabilityOfPrecipitation()
      Gets probability of precipitation.
      Returns:
      the probability of precipitation
    • setProbabilityOfPrecipitation

      public void setProbabilityOfPrecipitation(Double probabilityOfPrecipitation)
      Sets probability of precipitation.
      Parameters:
      probabilityOfPrecipitation - the probability of precipitation
    • getProbabilityOfPrecipitationPercentage

      public Byte getProbabilityOfPrecipitationPercentage()
      Gets probability of precipitation percentage.
      Returns:
      the probability of precipitation percentage
    • getRain

      public DailyRain getRain()
      Gets rain.
      Returns:
      the rain
    • setRain

      public void setRain(DailyRain rain)
      Sets rain.
      Parameters:
      rain - the rain
    • getSnow

      public DailySnow getSnow()
      Gets snow.
      Returns:
      the snow
    • setSnow

      public void setSnow(DailySnow snow)
      Sets snow.
      Parameters:
      snow - the snow
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object