Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
        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);
        }