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.
this | |
city_name |
the city name, or null |
code |
the METAR station code |
true if this's location could be set to a matching city, false otherwise. |