public string GetWeatherRow(WeatherData wd, int userRow) { StringBuilder rowData = new StringBuilder(); return(rowData.Append(wd.GetWeatherRow(userRow)).ToString()); }
public void DisplayWeatherRow(WeatherData wd, int userRow) { Console.WriteLine(wd.GetWeatherRow(userRow)); }
public void GetWeatherRowWithHeader(WeatherData wd, int userRow) { Console.WriteLine(wd.GetWeatherRow(0)); Console.WriteLine(wd.GetWeatherRow(userRow)); }
public void DisplayWeatherPoint(WeatherData wd, int userRow, int userColumn) { Console.WriteLine(wd.GetWeatherPoint(userRow, userColumn)); }
public string GetWeatherPoint(WeatherData wd, int userRow, int userColumn) { return(wd.GetWeatherPoint(userRow, userColumn)); }
private string getWeatherURL(WeatherData wd) { return(@"http://api.wunderground.com/history/airport/" + wd.GetIcao() + "/" + wd.GetDate() + "/DailyHistory.html?reqdb.zip=" + wd.GetZip()); }