fix: documentation
This commit is contained in:
parent
57081c4f43
commit
d2175120d4
@ -15,7 +15,7 @@ public interface WeatherDataAPI {
|
|||||||
* @param day Since D+0
|
* @param day Since D+0
|
||||||
* @param city Localisation
|
* @param city Localisation
|
||||||
* @return Temperature of the day from the city
|
* @return Temperature of the day from the city
|
||||||
* @throws IOException when request failed
|
* @throws WeatherFetchingException when request failed
|
||||||
*/
|
*/
|
||||||
WeatherData getTemperature(int day, String city) throws WeatherFetchingException;
|
WeatherData getTemperature(int day, String city) throws WeatherFetchingException;
|
||||||
|
|
||||||
@ -25,7 +25,7 @@ public interface WeatherDataAPI {
|
|||||||
* @param hour Since H+0
|
* @param hour Since H+0
|
||||||
* @param city Localisation
|
* @param city Localisation
|
||||||
* @return Temperature of the day for a hour from the city
|
* @return Temperature of the day for a hour from the city
|
||||||
* @throws IOException when request failed
|
* @throws WeatherFetchingException when request failed
|
||||||
*/
|
*/
|
||||||
WeatherData getTemperature(int day, int hour, String city) throws WeatherFetchingException;
|
WeatherData getTemperature(int day, int hour, String city) throws WeatherFetchingException;
|
||||||
|
|
||||||
@ -34,7 +34,7 @@ public interface WeatherDataAPI {
|
|||||||
* @param days number of days to fetch
|
* @param days number of days to fetch
|
||||||
* @param city name of te city
|
* @param city name of te city
|
||||||
* @return List of WeatherData
|
* @return List of WeatherData
|
||||||
* @throws IOException when request failed
|
* @throws WeatherFetchingException when request failed
|
||||||
*/
|
*/
|
||||||
ArrayList<WeatherData> getTemperatures(int days, String city) throws WeatherFetchingException;
|
ArrayList<WeatherData> getTemperatures(int days, String city) throws WeatherFetchingException;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user