public List <string> GetFifthDayHours() { var fifthDay = Forecast3hrs.Skip(fourthDayEnd).Take(40 - fourthDayEnd + 1); List <string> dayHours = fifthDay.Select(d => d.Time.TimeOfDay.ToString()).ToList(); return(dayHours); }
public List <string> GetFourthDayHours() { var fourthDay = Forecast3hrs.Skip(thirdDayEnd).Take(fourthDayEnd - thirdDayEnd); List <string> dayHours = fourthDay.Select(d => d.Time.TimeOfDay.ToString()).ToList(); return(dayHours); }
public List <double> GetFifthDayTemp() { var fifthDay = Forecast3hrs.Skip(fourthDayEnd).Take(40 - fourthDayEnd + 1); List <double> dayTemp = fifthDay.Select(d => d.Parameters.MaxTemperature).ToList(); return(dayTemp); }
public List <double> GetFourthDayTemp() { var fourthDay = Forecast3hrs.Skip(thirdDayEnd).Take(fourthDayEnd - thirdDayEnd); List <double> dayTemp = fourthDay.Select(d => d.Parameters.MaxTemperature).ToList(); return(dayTemp); }
public List <string> GetThirdDayHours() { var thirdDay = Forecast3hrs.Skip(secondDayEnd).Take(thirdDayEnd - secondDayEnd); List <string> dayHours = thirdDay.Select(d => d.Time.TimeOfDay.ToString()).ToList(); return(dayHours); }
public List <double> GetThirdDayTemp() { var thirdDay = Forecast3hrs.Skip(secondDayEnd).Take(thirdDayEnd - secondDayEnd); List <double> dayTemp = thirdDay.Select(d => d.Parameters.MaxTemperature).ToList(); return(dayTemp); }
public List <string> GetSecondDayHours() { var secondDay = Forecast3hrs.Skip(firstDayEnd).Take(secondDayEnd - firstDayEnd); List <string> dayHours = secondDay.Select(d => d.Time.TimeOfDay.ToString()).ToList(); return(dayHours); }
public List <double> GetSecondDayTemp() { var secondDay = Forecast3hrs.Skip(firstDayEnd).Take(secondDayEnd - firstDayEnd); List <double> dayTemp = secondDay.Select(d => d.Parameters.MaxTemperature).ToList(); return(dayTemp); }