public override void LoadFromConsole(DateRangeModel columnModel) { var min = UtilConsole.ReadDate("min date (without time)"); var max = UtilConsole.ReadDate("max date (without time)"); columnModel.MinDate = min.Date; columnModel.MaxDate = max.Date; }
public override void LoadFromConsole(DateTimeRangeModel columnModel) { var minDate = UtilConsole.ReadDate("min date (without time)"); var maxDate = UtilConsole.ReadDate("max date (without time)"); var minTime = UtilConsole.ReadTime("min time"); var maxTime = UtilConsole.ReadTime("max time"); columnModel.MinDate = minDate.Date; columnModel.MaxDate = maxDate.Date; columnModel.MinTime = UtilDataGeneration.NeutralDate.Add(minTime); columnModel.MaxTime = UtilDataGeneration.NeutralDate.Add(maxTime); }