Class HistoricalWeatherData
java.lang.Object
com.github.prominence.openweathermap.api.model.onecall.historical.HistoricalWeatherData
The type Historical weather data.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets coordinate.Gets historical weather.Gets hourly list.Gets timezone.Gets timezone offset.inthashCode()voidsetCoordinate(Coordinate coordinate) Sets coordinate.voidsetHistoricalWeather(HistoricalWeather historicalWeather) Sets historical weather.voidsetHourlyList(List<HourlyHistorical> hourlyList) Sets hourly list.voidsetTimezone(ZoneId timezone) Sets timezone.voidsetTimezoneOffset(ZoneOffset timezoneOffset) Sets timezone offset.toString()
-
Constructor Details
-
HistoricalWeatherData
public HistoricalWeatherData()
-
-
Method Details
-
getCoordinate
-
setCoordinate
Sets coordinate.- Parameters:
coordinate- the coordinate
-
getTimezone
-
setTimezone
-
getTimezoneOffset
-
setTimezoneOffset
Sets timezone offset.- Parameters:
timezoneOffset- the timezone offset
-
getHistoricalWeather
Gets historical weather.- Returns:
- the historical weather
-
setHistoricalWeather
Sets historical weather.- Parameters:
historicalWeather- the historical weather
-
getHourlyList
-
setHourlyList
Sets hourly list.- Parameters:
hourlyList- the hourly list
-
equals
-
hashCode
-
toString
-