JelloScrum.Model.Helpers.DateRange.DateRange C# (CSharp) Method

DateRange() public method

Initializes a new instance of the DateRange struct.
public DateRange ( System.DateTime start, System.DateTime end ) : System
start System.DateTime The start date.
end System.DateTime The end date.
return System
        public DateRange(DateTime start, DateTime end)
        {
            if (start > end)
                throw new ArgumentException("Start date should be before the end date", "start");

            this.start = start;
            this.end = end;
        }