private static string HourConverter(HourRows hourRows) { var hour1RowString = hourRows.HourRow1.Hour1RowToString(); var hour2RowString = hourRows.HourRow2.Hour2RowToString(); var hourString = hour1RowString + NewLineWithoutCarriageReturn + hour2RowString; return(hourString); }
public HourRows Convert(int hour) { var hourRow1 = _hourRow1Converter.Convert(hour); var hourRow2 = _hourRow2Converter.Convert(hour); var hourRows = new HourRows { HourRow1 = hourRow1, HourRow2 = hourRow2 }; return(hourRows); }