doc: add docstring for WeatherAPI.getTemperature
This commit is contained in:
parent
dc6fbd8c4e
commit
a56bc2eb81
@ -40,6 +40,9 @@ public class WeatherAPI implements WeatherDataAPI{
|
|||||||
return new JSONObject(result.toString());
|
return new JSONObject(result.toString());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param day Day, 0 ≤ day ≤ 14
|
||||||
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Temperature getTemperature(int day, String city) throws IOException {
|
public Temperature getTemperature(int day, String city) throws IOException {
|
||||||
JSONObject result = fetchWeather(day+1, city);
|
JSONObject result = fetchWeather(day+1, city);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user