mirror of
https://bitbucket.org/ethauvin/owm-japis.git
synced 2025-04-25 17:57:11 -07:00
2.5.0.3 is now there on Maven repo. Hurray!
This commit is contained in:
parent
a573686f24
commit
b7562181ae
4 changed files with 103 additions and 23 deletions
|
@ -43,6 +43,24 @@ public class CurrentWeatherTest {
|
|||
System.out.println("Reponse is inValid!");
|
||||
} else {
|
||||
System.out.println("Reponse is Valid!");
|
||||
System.out.println();
|
||||
|
||||
if (cw.hasBaseStation()) {
|
||||
System.out.println("Base station: " + cw.getBaseStation());
|
||||
}
|
||||
if (cw.hasDateTime()) {
|
||||
System.out.println("Date time: " + cw.getDateTime());
|
||||
}
|
||||
System.out.println();
|
||||
|
||||
|
||||
if (cw.hasCityCode()) {
|
||||
System.out.println("City code: " + cw.getCityCode());
|
||||
}
|
||||
if (cw.hasCityName()) {
|
||||
System.out.println("City name: " + cw.getCityName());
|
||||
}
|
||||
System.out.println();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue