feat(WeatherDataAPI): get temperatures for multiple days
This commit is contained in:
parent
243b613c79
commit
a255eabc93
@ -1,8 +1,13 @@
|
||||
package eirb.pg203;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
|
||||
public interface WeatherDataAPI {
|
||||
|
||||
Temperature getTemperature(int day, String city);
|
||||
Temperature getTemperature(int day, String city) throws IOException;
|
||||
|
||||
Temperature getTemperature(int day, int hour, String city);
|
||||
Temperature getTemperature(int day, int hour, String city) throws IOException;
|
||||
|
||||
ArrayList<Temperature> getTemperatures(int days, String city) throws IOException;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user