set_city
Description:
Sets this's location to a city with the given code
, and given city_name
, if non-
null.
If there is no matching city, sets this's location to null.
Parameters:
this | |
city_name |
the city name, or null |
code |
the METAR station code |
Returns:
true if this's location could be set to a matching city, false otherwise. |